[MAPSERVER-USERS] detecting memory leaks in java mapscript

rich.fromm nospam420 at yahoo.com
Wed Feb 20 15:42:15 PST 2008



rich.fromm wrote:
> 
> Any advice about tracking down memory leaks that might exist in java
> mapscript?
> 
> ...
> 
> I installed the debian sarge backport of valgrind (valgrind-3.2.0-Debian),
> and
> tried invoking java prefaced with:
> 
>   valgrind --leak-check=full --smc-check=all -v
> 
> No leaks were reported, but I don't think it really checked where I wanted
> it
> to check.
> 

Fwiw, I got valgrind to load libmapscript.so.  More details here if you
care:

http://www.nabble.com/memcheck-of-JNI-library-loaded-via-System.loadLibrary%28%29-to15582655.html#a15601589

Although I still haven't tracked down the leak (it didn't report anything).

- Rich

-- 
View this message in context: http://www.nabble.com/detecting-memory-leaks-in-java-mapscript-tp15580371p15601591.html
Sent from the Mapserver - User mailing list archive at Nabble.com.




More information about the MapServer-users mailing list