Syntax of the IBM_JAVA_OPTIONS parameter in the CAIQENVA member
search cancel

Syntax of the IBM_JAVA_OPTIONS parameter in the CAIQENVA member

book

Article ID: 212992

calendar_today

Updated On:

Products

Spool

Issue/Introduction

We are having issues with more than one option on the IBM_JAVA.OPTIONS statement.

When we set option to IBM_JAVA_OPTIONS="-Xmx256m" we see the HEAP set to 256m in a dump.

JRE: 325842792 bytes / 3328 allocations              

+--VM: 309922189 bytes / 2711 allocations   

|  +--Classes: 18650272 bytes / 491 allocations   

|  +--Memory Manager (GC): 274769793 bytes / 850 allocations

|  |  +--Java Heap: 268435456 bytes / 1 allocations

When we set option to IBM_JAVA_OPTIONS="-Xgcpolicy:optthruput -Xmx256m", we are seeing the following:

Dump thru jdmpview and confirms the heap is 512M:

JRE: 602811080 bytes / 3417 allocations    
   

+--VM: 584780021 bytes / 2792 allocations       

|  +--Classes: 18650272 bytes / 491 allocations  

|  +--Memory Manager (GC): 548520825 bytes / 886 allocations

|  |  +--Java Heap: 536870912 bytes / 1 allocations      

Environment

Release : 14.0

Component : CA Spool

Cause

Wrong syntax for the IBM_JAVA_OPTIONS parameter.

Resolution

The syntax of the parameter IBM_JAVA_OPTIONS requires that all parameters are surrounded by quotes.

For example:

IBM_JAVA_OPTIONS="-Xmx256m" "-Xgcpolicy:optthruput" 

Both values surrounded by quotes.