initial heap error

General discussion on the JZOS batch launcher and toolkit
Post Reply
koberst
Posts: 4
Joined: Fri Sep 01, 2006 8:43 am

initial heap error

Post by koberst »

I'm a newby to JZOS and saw it the first time on the Baltimore SHARE a few days ago. Now when i try to execute the sample JCL on our zOS system, i get this error:

Unable to allocate an initial java heap of 16777216 bytes.
*** panic: JVMST016: Cannot allocate memory for initial java heap
CEE5207E The signal SIGABRT was received.

I've already increased the TSO SIZE on login to the maximum of 2096128, but no success.

Any ideas :?:
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Post by dovetail »

If you are running JZOS as a batch job, its maximum region size will be controlled by the REGION= parm on the step, and limited by the REGION= parm on the job card (your TSO region size is not applicable).
In some installations, an exit can also affect your actual region size.

So, try putting REGION=0M on the step and the job card, and then run the job with LOGLVL='+D' on the JZOS step. This will print a report that shows the requested and actual amounts.

If you still have problems, post your job log (with LOGLVL='+D') and we'll take a look.
Post Reply