> On Jun 27, 2015, at 6:05 AM, Dmitri Maziuk <[email protected]> wrote:
>
> On 6/26/2015 9:48 AM, az wrote:
>> Thanks Jean-Paul
>>
>> You're right that I eat up a lot of memory with large files but I think
>> its not the whole story. If it were, my memory should come back each
>> time a new file is being read (jobs=[]), no ?
>
> No. It's a "feature" of garbage collection: your memory may come back
> anytime between then and program exit.
One could always trigger garbage collection manually.
https://docs.python.org/2/library/gc.html#gc.collect
<https://docs.python.org/2/library/gc.html#gc.collect>
And use gc.get_count() to make sure the count of objects went down with the
collection.
-David
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss