Hi all! I want to use valgrind to detect memory leaks for a library in Java native interface. For this I made a sample program by pressing a key reserve memory and another pressing the release and one for exiting the program.
I have 2 problems: * If I activate the options to detect memory leaks I see too many failures. * I can not detect which are memory leaks in my library. Option for valgrind: valgrind --smc-check=all --trace-children=yes --show-leak-kinds=all --track-origins=yes -v --leak-check=yes java -Djava.library.path=. App Is there any way to filter leaks only my library? Do the choices I am using to search for leaks is right for Java native code? Thanks!
------------------------------------------------------------------------------
_______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users