A problem creating Java VM using JNI_CreateJavaVM

2007-05-13 Thread sagi nachum
Hi, I tried to change to prunsrv.c code so that after it fails creating a JVM due to heap problem it will try again using a lower -Xmx parameter. I have a problem doing it since after the first JVM creation failure, it fails in all subsequent calls, specifically: I tried to create it with -Xmx170

Problems creating Java VM using JNI_CreateJavaVM

2007-05-12 Thread sagi nachum
Hi, I tried to change to prunsrv.c code so that after it fails creating a JVM due to heap problem it will try again using a lower -Xmx parameter. I have a problem doing it since after the first JVM creation failure, it fails in all subsequent calls, specifically: I tried to create it with -Xmx170