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

java/lang/OutOfMemoryError - what do I do about it?

Is there any advice available for what to do when you start getting problems with memory ?

I’ve got a Jazz Team Server and CLM applications v6.0.6 running on a Windows Server 2012 Standard with MS SQL Server 2016 (SP2) databases. We are using the Liberty web-server.

About two weeks ago we started having problems where users could not log on. If I rebooted the server everything was OK for a couple of days. Then the problem returned.

I looked in the <install-dir>\server\logs\messages_<date>.log” file and there are “java.lang.OutOfMemory” exceptions.

We are also getting some entries in the Windows Application Log from source=IBM Java mentioning this OutOfMemory Error.

And I have core dump files and “javacore.txt” in the <install-dir>\server\liberty\server\clm” folder.

I don’t really want to keep having to reboot the server every few days so what should my next move be ?

 

Thanks

          Peter

0 votes

Comments

Would increasing the Java Heap Size values in "server.startup.bat" be worth a try ?
i.e. set JAVA_OPTS=%JAVA_OPTS%-Xmx8G (instead of 4G)



2 answers

Permanent link

 Peter,


we have some information in the deployment Wiki: https://jazz.net/wiki/bin/view/Deployment/OomIntheLog 
That was one example. There are more - you can search it.

You can only give the JVM memory that is available. There is no information about your node or your topology.

Given that, I would suggest to get in contact with support if your system is that unstable at the moment.

You should also consider monitoring your system https://jazz.net/wiki/bin/view/Deployment/DeploymentMonitoring to understand what happens and what changes.

0 votes

Comments

Thanks for that Ralph, I will take a look and see if that helps.


Permanent link

Eleven days ago I edited the "server.startup.bat" so that we now use -Xms8G and -Xmx8G (instead of the original 4G)

Since then the Jazz Team Server has been stable and there have been no OutOfMemory errors.
And Users are no longer having any problems logging on.

So I'm going to stick with these settings.

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

Question asked: Nov 26 '19, 8:59 a.m.

Question was seen: 1,344 times

Last updated: Dec 10 '19, 7:10 a.m.

Confirmation Cancel Confirm