[mapguide-internals] Found at least one memory leaks in Mapguide API

Bruno Scott bscott at geomapgis.com
Mon Jul 6 08:52:13 EDT 2009


I'm investigating some memory leaks in Mapguide while i'm doing stress
testing.
You can see numbers and graphics there:
http://n2.nabble.com/Here%27s-some-stress-testing-on-Mapguide-td3182666.html
I was surprise by the leaks in w3w service and i have found the line that
leaks:

$wl = new MgWebLayout($resourceSrvc, $wli);
or
MgWebLayout wl = new MgWebLayout(resourceSrvc, wli);


Two pages use it, getttingstarted and mainframe.
It leaks both in aspx and php.
Leak is quite big, 400K/sec with 20 concurent users.
Disposing the variable as no effect

I'm not so familiar with SWIG, source code is difficult to read.
Could someone help me fix this one?

Bruno






-- 
View this message in context: http://n2.nabble.com/Found-at-least-one-memory-leaks-in-Mapguide-API-tp3212879p3212879.html
Sent from the MapGuide Internals mailing list archive at Nabble.com.


More information about the mapguide-internals mailing list