cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1763
Views
0
Helpful
6
Replies

java.lang.OutOfMemoryError: Java heap space Master 6.2

paul.standre1
Level 1
Level 1

Couldn't access tidal via web or java client, happened last two days and we have been runing 6.2 for months with no issue? If we recycle master agent resolves issue but not what we want to do doing daily. Please advise. Running 64 bit and 8 GB memory.

 

 

6 Replies 6

Joe Fletcher
Level 1
Level 1

What o/s are you running on?

 

Have you tried something like adding -DXX:MaxPermSize=512m to JvmOptions?

 

Cheers

Windows 2008

We added more memeory to server

adding sp2 to master

 

Paul,

 

Did you solve your problem?:  Most of the "out of heap errors" you get are, as you have already addressed, memory exhaustion.  How many jobs do you execute per day?  How many jobs at any given moment are you running?  do you utilize any adapter connections?  These are the questions you ask to appropriately size the amount of memory you dedicate to your server.   

 

Also, when this problem recurs, it's helpful to fail over to backup and then back again.  This is a less painful option than doing a full master restart.

 

Hope this helps,

-Dwayne

 

rakeshjogi
Level 1
Level 1

This error actually notifies us that the Tidal Master process is exhausting its Java heap memory.  Even though the server has sufficient physical RAM, and the application has been running without issues for months, it has still ended up with a Java heap memory error.  If you try to recycle the Master agent, this should be a temporary fix, as it will clear the heap. However, after clearing the heap memory usage will continue to build up until it reaches the configured limit. When it reaches the limit, of course, this will cause the Java clients to become unresponsive or inaccessible. This type of problem typically arises when the workload is heavy or if there is a memory leak. This usually causes objects to hold onto other objects in the heap than the expected time frame. 

The issue is not related to the operating system or the JVM itself. It's mainly because of how much heap the Master JVM is configured to use and how memory is being consumed over time. It’s better to increase the JVM heap size, enable GC logging to observe memory behavior, and capture thread or heap dumps before restarting the service. Doing this will help you identify and permanently resolve the root cause, instead of relying on daily restarts. To learn more interesting details about the OutOfMemoryError: Java heap space error, you can check out this blog, How to Solve OutOfMemoryError: Java heap space. This will give you more insights about this Java heap space error.

Review Cisco Networking for a $25 gift card