Details
-
Bug
-
Resolution: Fixed
-
Low
-
4.2.1
-
None
-
Linux server 2.6.32-32-server #62-Ubuntu SMP Wed Apr 20 22:07:43 UTC 2011 x86_64 GNU/Linux
java -server -Dorg.eclipse.jetty.xml.XmlParser.Validating=false -Xms256m -Xmx2G -XX:MaxPermSize=256m -Djava.awt.headless=true -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps -Xloggc:/usr/local/bamboo/logs/gc.log -classpath lib/*.jar:lib:webapp/WEB-INF/classes:webapp/WEB-INF/lib/commons-lang-2.5.jar:webapp/WEB-INF/lib/servlet-api-2.5.jar:webapp/WEB-INF/lib/jetty-continuation-7.6.2.v20120308.jar:webapp/WEB-INF/lib/jetty-http-7.6.2.v20120308.jar:webapp/WEB-INF/lib/jetty-io-7.6.2.v20120308.jar:webapp/WEB-INF/lib/jetty-jndi-7.6.2.v20120308.jar:webapp/WEB-INF/lib/jetty-plus-7.6.2.v20120308.jar:webapp/WEB-INF/lib/jetty-security-7.6.2.v20120308.jar:webapp/WEB-INF/lib/jetty-server-7.6.2.v20120308.jar:webapp/WEB-INF/lib/jetty-servlet-7.6.2.v20120308.jar:webapp/WEB-INF/lib/jetty-util-7.6.2.v20120308.jar:webapp/WEB-INF/lib/jetty-webapp-7.6.2.v20120308.jar:webapp/WEB-INF/lib/jetty-xml-7.6.2.v20120308.jar:webapp/WEB-INF/lib/mail-1.4.1.jar: com.atlassian.bamboo.server.Server 8085 webapp /bamboo
Linux server 2.6.32-32-server #62-Ubuntu SMP Wed Apr 20 22:07:43 UTC 2011 x86_64 GNU/Linux java -server -Dorg.eclipse.jetty.xml.XmlParser.Validating= false -Xms256m -Xmx2G -XX:MaxPermSize=256m -Djava.awt.headless= true -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps -Xloggc:/usr/local/bamboo/logs/gc.log -classpath lib/*.jar:lib:webapp/WEB-INF/classes:webapp/WEB-INF/lib/commons-lang-2.5.jar:webapp/WEB-INF/lib/servlet-api-2.5.jar:webapp/WEB-INF/lib/jetty-continuation-7.6.2.v20120308.jar:webapp/WEB-INF/lib/jetty-http-7.6.2.v20120308.jar:webapp/WEB-INF/lib/jetty-io-7.6.2.v20120308.jar:webapp/WEB-INF/lib/jetty-jndi-7.6.2.v20120308.jar:webapp/WEB-INF/lib/jetty-plus-7.6.2.v20120308.jar:webapp/WEB-INF/lib/jetty-security-7.6.2.v20120308.jar:webapp/WEB-INF/lib/jetty-server-7.6.2.v20120308.jar:webapp/WEB-INF/lib/jetty-servlet-7.6.2.v20120308.jar:webapp/WEB-INF/lib/jetty-util-7.6.2.v20120308.jar:webapp/WEB-INF/lib/jetty-webapp-7.6.2.v20120308.jar:webapp/WEB-INF/lib/jetty-xml-7.6.2.v20120308.jar:webapp/WEB-INF/lib/mail-1.4.1.jar: com.atlassian.bamboo.server.Server 8085 webapp /bamboo
Description
Our Bamboo instance keeps consuming more and more memory accumulated in old generation. At the end it goes into a loop of Major GC and becomes almost unresponsive. Attaching GC chart (pink represents old generation)
We have only few builds, this is not a busy machine. Attaching GC logs. We captured heap dump but are reluctant to reveal it as it might contain some sensitive information like SVN credentials.
However we did some analysis using JProfiler and it seems that: com.atlassian.bamboo.repository.svn.SVNClientManagerFactory.clientManagers ArrayList holds 25 thousand instances of org.tmatesoft.svn.core.wc.SVNClientManager. This collection occupies 1,2 GB in total.