Confluence 4.0 : How to get a Java Heap Dump
This page last changed on Feb 28, 2010 by pkamal.
Getting the heap dumpIf you hit the To get a heap dump add the For example: JAVA_OPTS="-Xms128m -Xmx1024m -XX:MaxPermSize=192m -XX:+HeapDumpOnOutOfMemoryError $JAVA_OPTS -Djava.awt.headless=true " Next reproduce the out of memory error. The next time you have an out of memory error, a *.hprof file will be created that is approximately the size of your java heap, i.e. 1024m (according to the above example). Please wait till its completely written out (before restarting confluence) and attach a zip of this dump to your support case.
Setting the Memory SettingsHow to set the heap or permanent generation memory depends on your distribution, platform, and how you start Confluence. Refer to Configuring System Properties.
|
![]() |
Document generated by Confluence on Sep 19, 2011 02:50 |