Memory leak
Mark Hammond
MarkH at ActiveState.com
Tue Jan 2 19:48:18 EST 2001
alex116321 at my-deja.com wrote:
> I am experiencing memory leakage when using Python and COM.
> Specifically, I am using the Micosoft XML Parser to load and traverse
> XML DOM stuctures. Everytime I access an XML node, more memory is
> consumed. After a while, this can eat away most of the system
> resources if the Python session is not terminated. Here is a simple
> example (assume the interpreter is used as a server and does not exit):
You don't say what version of anything.
With the latest versions, (and using "xrange" instead of range) I see no
leaks at all - perfectly flat memory usage.
Mark.
More information about the Python-list
mailing list