dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #15082
[Bug 424254] [NEW] Python interface memory leak
Public bug reported:
>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.
** Affects: dolfin
Importance: Undecided
Assignee: Johan Hake (johan-hake)
Status: New
** Changed in: dolfin
Assignee: (unassigned) => Johan Hake (johan-hake)
--
Python interface memory leak
https://bugs.launchpad.net/bugs/424254
You received this bug notification because you are subscribed to DOLFIN.
Status in DOLFIN: New
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.
Follow ups
References