July 15, 2007
8:45 a.m.
Alexey Nezhdanov <snakeru@gmail.com> writes:
But, barring a bug in Python, that is exactly the situation you would be in if you didn't reinitialize the interpreter in the first place. ok, thanks. Still it may be ok for my purposes if I can keep python from growing forever and just keep it beneath some limit.
But Python should behave like that anyway. If your Python is "growing forever", it means that there is a bug in Python, or in the code using it incorrectly.
Also, as I understand - memory that is marked as available for reuse will be swapped out if need for RAM will arise.
Theoretically. In practice, if the memory is interspersed with the chunks of memory that are in use, you get mixed results.