If the scripts are no longer running, then I assure you the garbage collector 
has nothing to do with it. My guess is the extra memory's taken by filesystem 
buffer.

By what metric are you deciding that 50GB of RAM is still occupied?
Has the swap usage come down since the scripts exited?
________________________________
From: linuxusersgroup@googlegroups.com <linuxusersgroup@googlegroups.com> on 
behalf of Rahul Gupta <rahulgupta100...@gmail.com>
Sent: Thursday, May 28, 2020 12:51 AM
To: Linux Users Group <linuxusersgroup@googlegroups.com>
Subject: [lug:18660] Ram memory not freed after executing python script on 
ubuntu system

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

--
--
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to linuxusersgroup@googlegroups.com
To unsubscribe, send email to linuxusersgroup+unsubscr...@googlegroups.com
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules)
---
You received this message because you are subscribed to the Google Groups 
"Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
linuxusersgroup+unsubscr...@googlegroups.com<mailto:linuxusersgroup+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/linuxusersgroup/bb2dbfb9-64f5-43c5-825d-3fe92ffde586%40googlegroups.com<https://groups.google.com/d/msgid/linuxusersgroup/bb2dbfb9-64f5-43c5-825d-3fe92ffde586%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
-- 
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to linuxusersgroup@googlegroups.com
To unsubscribe, send email to linuxusersgroup+unsubscr...@googlegroups.com
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules)
--- 
You received this message because you are subscribed to the Google Groups 
"Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linuxusersgroup+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/linuxusersgroup/DM5PR15MB17224BC812CE059940E111C9D48E0%40DM5PR15MB1722.namprd15.prod.outlook.com.

Reply via email to