On Thu, May 28, 2020 at 6:26 PM Rahul Gupta <rahulgupta100...@gmail.com> wrote:
>
> On Thursday, May 28, 2020 at 11:20:05 AM UTC+5:30, Rahul Gupta wrote:
> > I am having a Ubuntu system which has 125 Gb of RAM. I executed few python 
> > scripts on that system. Those scripts uses numpy arrays and pandas. Now 
> > execution was over but still 50 gb of RAM and 2 Gb cache and 8.4 Gb of swap 
> > is occupied. At this moment nothing is running on the system. I have 
> > googled it. Most of th result shows that python garbage collector is poor 
> > in performance. I want this memory to be cleaned and re claim. One of the 
> > easiest way is to restart the system but i dont want to restart i want a 
> > way to do this when the system is up and running. Kindly tell me how to do 
> > this. Thanks
> Yes i am sure 125 gb of ram is there.
> And you talked about refrences
> see these links
> https://stackoverflow.com/questions/39100971/how-do-i-release-memory-used-by-a-pandas-dataframe
> http://effbot.org/pyfaq/why-doesnt-python-release-the-memory-when-i-delete-a-large-object.htm
>

Both of those are extremely old. Also, you said that you had
terminated the Python process, so neither is relevant.

You need to look elsewhere for your memory usage. If Python isn't
running, it's not Python that's using up your memory.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to