[Python-Dev] Re: The OOM-Killer vs. Python
François Pinard
pinard@iro.umontreal.ca
06 Jul 2002 18:43:13 -0400
[Martin v. Loewis]
> If you don't create any cyclic garbage, you can find all container
> objects with gc.get_objects. If you find that gc.get_objects does not
> grow longer over time, but your process still consumes more memory,
> one of your C extensions has a refcounting bug.
Out of curiosity, I checked with the latest HTML documentation (2.3a0)
and did not find documentation for `gc.get_objects'. Should it be there?
P.S. - Looking at http://www.python.org/dev/doc/devel/lib/module-gc.html.
--
François Pinard http://www.iro.umontreal.ca/~pinard