I am a newbie to the forum and a novice at Java troubleshooting. Our company is currently having a problem with a third party product (Markview) running on Sun hardware and the 64-bit Sun Solaris 10 Update 9 O/S, using Weblogic 10.2.3/JRockit R27.5.6 middle tier software. We are using the 64-bit JRockit JVM. The application is an Accounts Payable document imaging solution, which creates and manipulates images primary in the TIFF format.
The problem we are having is that under load, we are seeing stack overflows, causing the JVM to crash and generate core dumps. The root cause has been traced to calls to the JAI which are invoking native acceleration using the Sun Solaris Sparcv9 library libmlib_image_v.so
We are currently investigating disabling the native accelerator to determine if the will resolve the stack overflow / JVM crashing issues. We plan to disable native acceleration in one of the following 3 ways:
or simply renaming the image library so that it cannot be found and will revert to the pure Java implementation.
Q1: What is the difference between disabling the JAI medialib vs disabling the codec.
Q2: Despite running 64 bit O/S and 64 bit JVM and calling a 64 bit native library (libmlib_image_v.so), it appears the we have a memory ceiling of 4 GIG. We tried increasing the heap size from 3 GIG to 8 GIG and the crashes became more frequent (counter-intuitive). Any thoughts on this?