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

How to edit JVM settings of bundled WAS liberty in case of CLM 6.0.2 ?

Hi,

I want to change Heap memory size of liberty's JVM. But I can not know how to do this.

I can see used heap memory via admin Center. But it is not editable.
https://hostname:9443/adminCenter/#explore/monitor

Thank you in advance.

Natsumi

0 votes


Accepted answer

Permanent link
The Liberty JVM settings can be updated in the server.startup.bat or (probably) server.startup.sh script in the <JAZZ_HOME>\server directory:

e.g:
...
set JAVA_OPTS=%JAVA_OPTS% -Xmx4G
set JAVA_OPTS=%JAVA_OPTS% -Xms4G
set JAVA_OPTS=%JAVA_OPTS% -Xmn512M
set JAVA_OPTS=%JAVA_OPTS% -XX:MaxDirectMemorySize=1G
set JAVA_OPTS=%JAVA_OPTS% -Xgcpolicy:gencon
set JAVA_OPTS=%JAVA_OPTS% -Xcompressedrefs -Xgc:preferredHeapBase=0x100000000
...

Natsumi Yokoyama selected this answer as the correct answer

0 votes

Comments

I can change my liberty settings by updating server.startup.bat. Thank you for your answer.


One other answer

Permanent link
I think this will help: Settinggeneric Java in Liberty Profile

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,495

Question asked: Jun 01 '16, 12:46 a.m.

Question was seen: 5,748 times

Last updated: Jun 02 '16, 9:00 p.m.

Confirmation Cancel Confirm