[mapguide-internals] Found at least one memory leaks in
jumpinjackie at gmail.com
Mon Jul 6 10:02:25 EDT 2009
SWIG is generating the MgWebLayout wrapper from this header:
The implementation is here:
Something wrong with the refcounting perhaps?
Bruno Scott wrote:
> I'm investigating some memory leaks in Mapguide while i'm doing stress
> You can see numbers and graphics there:
> I was surprise by the leaks in w3w service and i have found the line that
> $wl = new MgWebLayout($resourceSrvc, $wli);
> 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?
View this message in context: http://n2.nabble.com/Found-at-least-one-memory-leaks-in-Mapguide-API-tp3212879p3213187.html
Sent from the MapGuide Internals mailing list archive at Nabble.com.
More information about the mapguide-internals