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?

Regards,

Lars

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Monday in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

195 views 3 3
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