myrmidia
2010-07-30 12:52:02 UTC
Hi there,
I try to use valgrind with a Java program to detect memory leak within a 'C' library. This 'C' library is access by JNA (Java Native Access : https://jna.dev.java.net) framework...
For information, this program is running on a Virtual Machine (ESX). The linux is a Centos 5.3 and I use the latest available release of Valgrind on default repository !
The JDK/JRE is the latest available release from SUN.
Command line:
valgrind --leak-check=yes java -jar test.jar
Result :
The program ran perfectly but valgrind doesn't detect nothing AND there's some memory leaks in the library ;-((
Command line:
valgrind --trace-children=yes --leak-check=yes java -jar test.jar
Result :
Error occurred during initialization of VM
Unknown x64 processor: SSE2 not supported
The physical processor on the EXS is a Xeon so it supports SSE2 and I've this log on the stderr with '--verbose' option :
Arch and hwcaps: AMD64, amd64-sse3-cx16
Any idea ???
Best regards,
I try to use valgrind with a Java program to detect memory leak within a 'C' library. This 'C' library is access by JNA (Java Native Access : https://jna.dev.java.net) framework...
For information, this program is running on a Virtual Machine (ESX). The linux is a Centos 5.3 and I use the latest available release of Valgrind on default repository !
The JDK/JRE is the latest available release from SUN.
Command line:
valgrind --leak-check=yes java -jar test.jar
Result :
The program ran perfectly but valgrind doesn't detect nothing AND there's some memory leaks in the library ;-((
Command line:
valgrind --trace-children=yes --leak-check=yes java -jar test.jar
Result :
Error occurred during initialization of VM
Unknown x64 processor: SSE2 not supported
The physical processor on the EXS is a Xeon so it supports SSE2 and I've this log on the stderr with '--verbose' option :
Arch and hwcaps: AMD64, amd64-sse3-cx16
Any idea ???
Best regards,