Message3791

Author otmarhumbel
Recipients colinhevans, otmarhumbel
Date 2008-11-20.09:15:20
SpamBayes Score 5.2988376e-08
Marked as misclassified No
Message-id <1227172521.39.0.452705841501.issue1175@psf.upfronthosting.co.za>
In-reply-to
Content
Colin, 
AFAIK there is no way of disabling the garbage collector in Java.
This is documented in the docstring of gc:

>>> import gc
>>> print gc.__doc__
This module provides access to the garbage collector.

enable() -- Enable automatic garbage collection (does nothing).
isenabled() -- Returns True because Java garbage collection cannot be
disabled.
collect() -- Trigger a Java garbage collection (potentially expensive).
get_debug() -- Get debugging flags (returns 0).

Other functions raise NotImplementedError because they do not apply to Java.

>>>
History
Date User Action Args
2008-11-20 09:15:21otmarhumbelsetmessageid: <1227172521.39.0.452705841501.issue1175@psf.upfronthosting.co.za>
2008-11-20 09:15:21otmarhumbelsetrecipients: + otmarhumbel, colinhevans
2008-11-20 09:15:21otmarhumbellinkissue1175 messages
2008-11-20 09:15:20otmarhumbelcreate