JNI segmentation fault
Hello,
I have problems with JNI.
I have method for solving large system of linear equations, written in C++. This is called within java via JNI.
When I call this method with little system (say 2-3thousands of equations), I recieved correct result.
When I call the method with higher number of equations, I get Segmentation Fault (this occured on places in C++ code, where I allocate memory)
When I run just pure C++ program (within java, but using Runtime.execute, no JNI), which calls the same C++ method, I can solve much larger systems without any memory error.
I tried to set -Xmx to the value of 1GB (which is much more than eventually needed by C++ program) when running java, but with no help.
I use linux.
I'll be glad for any suggestions.
Miro

