すべてのバージョン
Bamboo 5.13Bamboo 5.7.x
Bamboo 5.6.x
More...
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 the run command line in bamboo.sh
... RUN_CMD="java -XX:+PrintGCTimeStamps -verbose:gc -Xloggc:gc.log -XX:+HeapDumpOnOutOfMemoryError -Xms256m -Xmx<your-setting> -XX:MaxPermSize=256m ........ ...
Then restart bamboo as ./bamboo.sh start
.
The garbage collection traces and the heap dumps are in <bamboo-install>/gc.log
.
Some helpful links:
http://blogs.atlassian.com/developer/2007/10/plugging_leaks_in_confluence.html
http://java.sun.com/developer/technicalArticles/Programming/GCPortal/