Clear Memory

I have multiple dashboards represented each as a class of its own. I have assigned buttons that launches each class. Problem is a lot of memory is accumulating and I’ve been trying to clear it out. Source of the memory is numerous large dataframes being created and reused. What I am trying to do is to clear that memory using Garbage collector. It seems, it’s not deleting anything. Any advice?