Re: Python memory handling
- From: Marc 'BlackJack' Rintsch <bj_666@xxxxxxx>
- Date: Thu, 31 May 2007 14:16:31 +0200
In <1180611604.247696.149060@xxxxxxxxxxxxxxxxxxxxxxxxxxx>, frederic.pica
wrote:
So as I can see, python maintain a memory pool for lists.
In my first example, if I reparse the xml file, the memory doesn't
grow very much (0.1 Mb precisely)
So I think I'm right with the memory pool.
But is there a way to force python to release this memory ?!
AFAIK not. But why is this important as long as the memory consumption
doesn't grow constantly? The virtual memory management of the operating
system usually takes care that only actually used memory is in physical
RAM.
Ciao,
Marc 'BlackJack' Rintsch
.
Relevant Pages
- Re: Support of a large table
... >> display different parts within different controls of a vb app. ... >> One part of the XML file identifies information about processor cylces. ... >> demanding on memory. ... > Try to open it in vb with DOM first. ... (comp.lang.basic.visual.misc) - Re: Online, Offline, Disconnected applications.
... XML file, ... Using MSDE is the best way. ... I've looked at both the TaskVision application> and the Offline Application Block for for guidance. ... My main concern here is the scalability,> efficiency, and memory usage when the application is running. ... (microsoft.public.dotnet.framework.adonet) - How2 Flush to Disk DataSet.WriteXML(FileName,XMLWriteMode.WriteSch
... A user session consists of long transactions where data is ... wrong with the client machine or application the memory data is lost. ... the XML file is there. ... But if I CTL+AlT-Del and say end task from the task manager, ... (microsoft.public.dotnet.framework.adonet) - Re: remoting object access information from local xml file frequen
... it is efficient in using memory .. ... will it hold data in IIS memory automatically after retreiving from the ... > I would do is create a class that loads the xml file settings into the ... (microsoft.public.dotnet.framework.remoting) - Re: XmlDataDocumentDataSet Memory Footprint, Feedback appreciated.
... I suggest you use a memory profiler to track where your memory is consumed. ... > size of the xml file would be greatly appreciated. ... > namespace DataExtract ... (microsoft.public.dotnet.languages.csharp) |
|