-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Severity:Medium
I observed memory leak in my Artifactory installation. Once a month OutOfMemory error is thrown The heap usage after GC steadily grows from ~200MB to ~600MB.
My environment:
Linux 2.6.18-194.17.4.el5, x86_64
Artifactory 2.3.2 (built in database)
Apache Tomcat 5.5.28
Java 1.6.0_16
My configuration:
-server -Xms1024m -Xmx1024m -Xss256k -XX:PermSize=192m -XX:MaxPermSize=192m -XX:NewSize=384m -XX:MaxNewSize=384m -XX:+UseParallelGC -XX:+UseParallelOldGC -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc:$CATALINA_HOME/logs/gc.log -XX:-HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=$CATALINA_HOME/logs -Dartifactory.home=$ARTIFACTORY_HOME
The memory tuning seems to fulfill the load. At the beginning (first two weeks) full GC is executed only during nightly jobs (backup, indexing).
I turned on HeapDumpOnOutOfMemoryError JVM option, but we will have to wait a month to see the results. Let me know, if you need more details. I will provide as much information as I can.