Hello,
I am running a process with many shared libraries attached (+/- 250).
At some point a Java VM is being created with the call :
JNI_CreateJavaVM( &( gpJavaEnvironment->pJavaVM ),
(void**)&( pJNIEnv ),
&javaVMInitArgs );
The system responds with a : "loadquery error 12 looking for libjava.a".
Error 12 is ENOMEM : ENOMEM Indicates that the caller's buffer specified by the Buffer and BufferLength parameters is too small to return the information requested. When this occurs, the information in the buffer is undefined.
This is probably caused by the high number of shared libraries that were linked.
Does anybody have an idea ? (or eventually a reference to another forum where these questions would be more appropriate ?)
Tx
Luc
I am running a process with many shared libraries attached (+/- 250).
At some point a Java VM is being created with the call :
JNI_CreateJavaVM( &( gpJavaEnvironment->pJavaVM ),
(void**)&( pJNIEnv ),
&javaVMInitArgs );
The system responds with a : "loadquery error 12 looking for libjava.a".
Error 12 is ENOMEM : ENOMEM Indicates that the caller's buffer specified by the Buffer and BufferLength parameters is too small to return the information requested. When this occurs, the information in the buffer is undefined.
This is probably caused by the high number of shared libraries that were linked.
Does anybody have an idea ? (or eventually a reference to another forum where these questions would be more appropriate ?)
Tx
Luc