← Back to team overview

dolfin team mailing list archive

[Bug 424254] Re: Python interface memory leak

 

** Changed in: dolfin
       Status: Fix Released => Fix Committed

-- 
Python interface memory leak
https://bugs.launchpad.net/bugs/424254
You received this bug notification because you are subscribed to DOLFIN.

Status in DOLFIN: Fix Committed

Bug description:
>From Bugzilla:

ArrayUInt, (and probably other swig objects) leak memory.

Test Case:
1. Open Activity Monitor or top to view memory
2. Launch Python
python:
>>for x in xrange(10000):
..  z = ArrayUInt(range(100000))

Expected: Memory usage should remain constant as z's __del__ method is invoked
after each loop.
Actual: Memory is continually allocated to python process.


References