Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting java.lang.OutOfMemoryError: Java heap space when users are accessing the review dashboard

Jeff Hurlburt
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 12, 2020

Team,

We are getting the following error: java.lang.OutOfMemoryError: Java heap space. Upon investigation this is happening when we access a certain review dashboard within Crucible. All other review dashboards are working as intended. 

I have noticed that when our users are looking at the review dashboard in question the memory utilization for Crucible goes to max which is currently set around 4GB and will slowly continue to creep upwards as time goes on currently sitting at 4.7GB

Please let me know if there are any logs that you want me to recover at this time. (Note: I have also tried to increase MaxPermSize, Xms and Xmx parameters via the Configure Crucible app with no luck. )

1 answer

0 votes
sreepathy October 29, 2025

The “java.lang.OutOfMemoryError: Java heap space” error occurs when Crucible’s JVM runs out of available memory while processing large or complex data, such as the specific review dashboard you mentioned. When we get to see this error, it actually indicates that the dashboard contains a large dataset or inefficient queries that lead to excessive memory usage.

To address this, increase the maximum heap size. Also make sure the server has sufficient physical RAM to support this configuration. You can adjust these parameters in the setenv.sh or setenv.bat file.

Also it's a good practice to monitor GC logs and enable detailed heap usage metrics. This practice will actually help you to identify which operations or data structures are consuming excessive memory. If the issue persists, capture the heap dump and you can analyze the object using the tool HeapHero. If you are interested in learning about the types of OutOfMemoryError, you can check out this blog: Types of OutOfMemoryError, Causes, and Solutions.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
4.8.1
TAGS
AUG Leaders

Atlassian Community Events