[Bf-committers] PyThon Memory leak.
cbarton at metavr.com
Mon Mar 7 20:58:53 CET 2005
There is an issue where making a list in python will use up memory in
blender until blender is restarted.
if you open up blender and run this line,
x = [] * 100000 # As many as your memory will allow ..
The lsit is created but the memory is still used,
del x after this dosent work and teh garbage collector dosent do
I asked around in the pythonj chat room and it turns out this is a known
Aside from this spesific issue, could Blender force python to deallocate
memory once a python script finishes??
its not running so it shouldent use memory.
I am passing gigerbytes of 3D data and cant help making big lists-
forcing me to restart blender every hours or so (Reminds me on win95)
Campbell J Barton
133 Hope Street
Geelong West, Victoria 3218 Australia
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241
More information about the Bf-committers