Java Heap Error on Word Document Import

User is trying to import a word document that's about 3MB in size and keeps getting heap size errors. I've increased the heap size to 512MB for min and 1024MB for the max (server has 8GB of ram and is running Windows 2008 server R2). What do I need to look for to solve this issue? Are there settings specific to the office import?

3 answers

1 vote

Hi Sean,

Looks like you have hit into this bug -

It would be great if you can drop a comment for your Confluence version there.


0 votes

Hello Sean,

These settings are very specific to your environment. Things like the instance size (number of issues, projects, etc), and the number of installed plugins are directly related with the heap size needed.

Then, I believe that the better way to handle this problem is upon analyzing your logs, on a support ticket. Therefore, could you please open a request at and provide your log files, so the team can quickly analyze your instance and provide a solution?


0 votes
Thomas Schlegel Community Champion Dec 17, 2012

Hi Sean,

sometimes we had problems with pictures in the Word documents. We removed the pictures from the doc and added it manually after the import. This worked for us.

Hope this helps



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,316 views 93 8
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