[Bf-committers] Memory Leak in BPython.

Campbell Barton cbarton at metavr.com
Tue Mar 1 01:58:30 CET 2005


In python interpreter And Blender this  will chew 1.6 gig of my memory 
in 6 seconds.

for x in range(10000009):
  foobar = x

I know xrange solves this, but there are other simple cases where you 
can redefine a var many times and suck up ram.

Now, this is python- does the same in the interpreter.
But even after the scriptr finishes only 400 meg is free'd.

So there is 1gig that Blender is storing for BPython even though Python 
is not running?

Mabe theres a way to kill pythons memory useage when its finished?

-Cam

-- 
Campbell J Barton

133 Hope Street
Geelong West, Victoria 3218 Australia

URL:    http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241



More information about the Bf-committers mailing list