Confluence unresponsive after viewing page with Office Connector macros

Still need help?

The Atlassian Community is here for you.

Ask the community


Confluence becomes unresponsive, and may hit an OutOfMemory Error. The following stack traces appear in the logs:

2010-04-05 15:36:01,776 ERROR [TP-Processor30] [[Catalina].[localhost].[/wiki].[action]] log Servlet.service() for servlet action threw exception
 -- url: /wiki/display/xxxxx | userName: casino | referer: https://localhost/wiki/pages/editpage.action?pageId=4162084
java.lang.OutOfMemoryError: Java heap space
	at com.opensymphony.module.sitemesh.html.util.CharArray.grow(
	at com.opensymphony.module.sitemesh.html.util.CharArray.append(
	at com.opensymphony.module.sitemesh.html.util.CharArray.append(
	at com.opensymphony.module.sitemesh.parser.FastPageParser.writeTag(
	at com.opensymphony.module.sitemesh.parser.FastPageParser.internalParse(
	at com.opensymphony.module.sitemesh.parser.FastPageParser.parse(

The error will contain a referral to the actual page that caused this:

referer: https://localhost/wiki/pages/editpage.action?pageId=4162084


Inspect the page contents for any macros that use viewxls or any other macros that could be reference a very large document.


A referenced resource is larger than Confluence can handle.


As a short term fix, any occurrence of this error will require a restart of Confluence as an immediate correction.

Choose one of the following long-term resolutions:

  • Increase the amount of memory allocated to Confluence if your system is powerful enough.
  • Reconsider the document and macros used in that Wiki page. Splitting the document into several other pages could help.

Track a permanent fix for this problem at CONF-17292.




























Last modified on Mar 30, 2016

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.