Hi
I have a C++ application that calls the XSSF formula evaluator via JNI
invocation api. I find that I get a segmentation fault after the same
formula is calculated 3 times. For the same set of inputs I do not get a
crash when I evaluate the formula as pure java code. Has anyone run into
issues like this before?  I checked for possible memory related issues in
the JNI layer and I do not see any. It is very simple just creates jvm,
class, gets method id and calls method.
I am using the Apache 3.8 beta 5 code.
I used the logDebug() inside the
org/apache/poi/ss/formula/WorkbookEvalutor.java file. I saw the crash
happens inside the evaluateAny() method and it does not enter
evaluateFormula().
Can someone suggest how best to debug this issue. The heap size I use to
create the JVM is 256M. I have tried with larger heap sizes as well. I am
never running into OutofMemoryExceptions.
Thanks
Vidhya

Reply via email to