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

CLM and memory allocation

CLM 4.0.0.1
WAS 7.0.23
Linux Redhat
Oracle

All,

When I go in to jts/admin, I see an allocation of memory at 4GB and a max of 4GB. The server has 16GB and does nothing else. How/where can I get this increased to 8GB+?

thanks

0 votes


Accepted answer

Permanent link
Hi Sterling,
You need to remove -Xmx4g -Xms4g from the arguments. These parameters are set in was by specifying Initial and maximum heap size. After removing these parameters and restarting WAS it should be working correctly.

Let us know if it helps for you.

Best regards,
Krzysztof Kazmierczyk
Sterling Ferguson-II selected this answer as the correct answer

0 votes


5 other answers

Permanent link
Hello Benjamin:


  MB

  MB

Here are my arguments:
-Xmx4g -Xms4g -Xmn512m -Xgcpolicy:gencon -Xcompressedrefs -Xgc:preferredHeapBase=0x100000000


JVM Memory


Name Heap Initial size Max size Currently Used Committed (Reserved)
Non Heap false 0 0 374.7 MB 569.3 MB
class storage false 0 0 322.6 MB 435.7 MB
JIT code cache false 0 0 24 MB 24 MB
JIT data cache false 0 0 10.3 MB 16 MB
miscellaneous non-heap storage false 0 0 17.7 MB 93.7 MB
Java heap true 4 GB 4 GB 543.2 MB 4 GB

0 votes


Permanent link
Hi Sterling,

Can you confirm the configuration was saved by checking the properties again after the restart?  If not, you'll need to make the changes again, save the configuration when prompted, then restart WAS again.

The "Free Memory" indicates the amount of memory not in use (so a high number there is good).  You can also check more specific JVM usage statistics by going to https://server:port/rm/rmadin -> Logging -> View JVM Properties (at the bottom of the page).  I'm not sure the "Current Memory Allocation" in your screenshot is showing the actual allocation, but rather the minimum heap.  The RM page I mentioned above shows a better breakdown of memory usage.

0 votes


Permanent link
@Benjamin: I must be doing something wrong. I went into WAS and changed it to 8192...and it still shows the same after a WAS restart:

What does the Free indicate? Do I have something set wrong?

thanks


VM Memory Usage
Maximum Memory Allocation 4096 MB
Current Memory Allocation 4096 MB
Free Memory 82 %

0 votes


Permanent link
Hi Sterling,

The issue is that your -Xmx and -Xms are set to 4G in your JVM arguments, so they're overriding the settings you've adjusted.  You can either update them in the JVM arguments (change -Xmx4G -Xms4G to -Xmx8G and -Xms8G), or remove them and keep the properties you've set in the Min/Max settings on the same page.  Either one will fix the issue.

1 vote


Permanent link
Hi Sterling,

If you want to increase the maximum JVM heap size on a CLM application running on WebSphere, you can do it from the WebSphere admin console (ie - http://clmweb.ibm.com:9060/ibm/console).  The recommendation is to set the maximum heap no higher than 1/2 the available physical memory assuming you're only running one WAS profile.

Once logged in to the WAS admin console, go to Servers -> Server Types -> WebSphere Application Servers -> <server_name> -> Java and Process Management -> Process Definition -> Java Virtual Machine -> You'll see the initial and maximum heap size there.  The recommendation is to set them to the same value.  Here is the documentation on JVM settings from the WebSphere 7.0 InfoCenter.  Hope it helps,

3 votes

Comments

I would also have a look at:

Track recommended JVM options for running CLM servers 
(Jazz Collaborative ALM, Task: 198140)

We are running 4 parallel profiles with this recommended settings with very good results.


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,490
× 6,119

Question asked: Feb 02 '13, 8:33 p.m.

Question was seen: 10,512 times

Last updated: Aug 29 '13, 2:48 a.m.

Confirmation Cancel Confirm