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 vote

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

355 views 20 10
Join discussion

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