Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

jvm.options are not respected for Xms, Xmx, and Xmn

 I have a new server that is not respecting my settings for jvm.options. I'm on 7.0.2 SR1, on Linux. When I add the following to the jvm.options: Xms=8GB, Xmx=8GB, Xmn=2GB, it ignores it and appears to override with Xms=4GB, Xmx=4GB, Xmn=1GB. 

The server.startup does not have any settings for it other than in the following stanza:


When run in a Jazz build, a 32-bit JRE is used, so don't set 64-bit options
if [ -z "$_RUNNING_IN_JAZZ_BUILD" ]; then
    JAVA_OPTS="$JAVA_OPTS -Xmx4G"
    JAVA_OPTS="$JAVA_OPTS -Xms4G"
    JAVA_OPTS="$JAVA_OPTS -Xmn1G"
fi

</pre>

Obviously, this is a server, not a Jazz build. Only if I explicity add the settings to server.startup, will it obey the JVM settings. Any idea why this is happening?

0 votes



One answer

Permanent link

 FYI, removing that stanza allows it to adhere to the settings in jvm.options. Thus, the variable $_RUNNING_IN_JAZZ_BUILD is returning as true when the server is running. This is a defect.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,497
× 1,327

Question asked: Dec 18 '22, 10:14 a.m.

Question was seen: 1,519 times

Last updated: Dec 19 '22, 9:51 a.m.

Confirmation Cancel Confirm