CreateJavaVM fails with JNI_ENOMEM (-4) even though there is enogh memory
Hi,
I am creating a VM on Win XP using JNI_CreateJavaVM. It fails when I add an option "-Xmx1024M", error code being JNI_ENOMEM (-4). It works with "-Xmx500M". The system has 2GB memory, other java processes (non-JNI) start without problems even with more than "-Xmx1024M".
Any ideas?
Bye,
Michael