Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

load query fails with ENOMEM in

Status
Not open for further replies.

DGRFL

Programmer
Dec 28, 2000
36
BE
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


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top