Why does Confluence crash when attempting to open Trash can in a space?

Confluence crashes when attempting to open Trash can in a space. The following error message is displayed:

"javax.servlet.ServletException: Servlet execution threw an exception
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:313)

caused by: java.lang.OutOfMemoryError: Java heap space
at com.opensymphony.module.sitemesh.html.util.CharArray.grow(CharArray.java:267)"

We are quite used to out of memory errors eventhough we have assigned more memory than recommended, but they keep popping up. The Trash can is a new one though, so we can add yet another to the list of events.

Are there too many pages in the Trash? If so, how do we get rid of them?



2 answers

1 accepted

0 votes
Accepted answer

How much memory have you assigned? Looks like it is not enough due to some reason!

At the moment we run the following settings:

-Xms512m -Xmx1024m -XX:MaxPermSize=256m

We have tried with:

-Xms512m -Xmx2048m -XX:MaxPermSize=256m

but have not seen any improvements. We haven't tried it on the Trash can problem though.

We tried using the higher settings mentioned above and it solved the Trash can problem.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

473 views 3 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you