JVMJ9VM015W trying to allocate heap above the bar

General discussion on the JZOS batch launcher and toolkit
Post Reply
wrzawo
Posts: 3
Joined: Wed May 06, 2009 3:43 am
Location: Vienna

JVMJ9VM015W trying to allocate heap above the bar

Post by wrzawo »

Starting a application with java 1.6 i got these message:

JVMJ9VM015W Initialization error for library j9gc24(2): Failed to instantiate heap; 1536M requested
JVMJZBL2999T JNI_CreateJavaVM elapsed time=25.928523 seconds, cpu time=0.132963 seconds
JVMJZBL1011E JNI_CreateJavaVM error, rc = -4
JVMJZBL2999T <- createJvm()
JVMJZBL2999T <- run()
JVMJZBL2999T -> cleanup()
JVMJZBL2999I JZOS batch launcher elapsed time=26.959890 seconds, cpu time=0.162474 seconds
JVMJZBL1042E JZOS batch launcher failed, return code=102

Does JZOS 2.3.0 support this?
mwilliam
Posts: 37
Joined: Mon Oct 11, 2004 3:21 pm

Post by mwilliam »

Well,
this will depend on the region size specified for the jobstep executing ZJos.

Usually, I specify the following region size which gets the maxium available storage above the line:
REGION=0M
However, some reason the requested heap size for your JVM seems a bit high. Though, I may be mistaken, but it seems as though you are requesting 1.5 GB of storage.

Usually, I start with a minium of 64mb and max at 128mb as with the following JVM parameter:
-Xms64m -Xmx128m
Post Reply