Index![]()
Downloads (PDF, HTML & XML formats)
[Bamboo Knowledge Base Home]
Documentation for Bamboo 4.0.x. Documentation for earlier versions of Bamboo is available too. 
![]()
A simple way to do this is to turn on garbage collection and heap dump on out of memory.
Please add the following parameters to Bamboo
-XX:+PrintGCDetails -XX:+PrintGCTimeStamps -verbose:gc -Xloggc:/path/to/gc.log
Note: Remember to substitute /path/to/gc.log with a meaningful file path on your server.
The garbage collection traces and the heap dumps are in <bamboo-install>/gc.log.
The -XX:+PrintGCTimeStamps flag, prints when GCs happen relative to the start of the application.
http://blogs.atlassian.com/developer/2007/10/plugging_leaks_in_confluence.html
http://java.sun.com/developer/technicalArticles/Programming/GCPortal/
3 Comments
Anonymous
Nov 16, 2011In which file exactly the above mentioned line should be added?
AjayA
Nov 16, 2011Please see this linked EAC page
If you're running Bamboo with the wrapper or using Bamboo 3.2 or above, then add it to your wrapper.conf file
Anonymous
Nov 17, 2011Thanks a lot Ajay!