artemp/trac2github — Issue #628: "del" on mapnik.Map instances doesn't release memory
Author: artemp
Created: 2011-10-09 20:44:42+00:00
State: open
Labels: Boost_Python_Binding

We're having serious memory leak with Mapnik Python bindings, which don't release memory when "del map" is called (where map is a mapnik.Map object with XML style already loaded). Attached is a simple script that has been used to reproduce the problem.
Similar code in C++ doesn't leak memory.

We had this issue on all versions from 0.5.0 to 0.6.1.

I will also test this 0.7.2-dev branch in the next hour to see if the problem is still there.