jetbrains.buildServer.SERVER - Got unexpected exception, thread "Thread-71" is terminated. Error: java.lang.OutOfMemoryError

Hi all, 

After last update on 31-th Dec we have a lot of  java.lang.OutOfMemoryError errors. Service sometimes stops or restarts. This happens randomly  whiteout user activity.
Regarding documentation I increased those parameters:

  • TEAMCITY_SERVER_MEM_OPTS — server JVM memory options (e.g. -Xmx1200m -XX:MaxPermSize=270m)
  • TEAMCITY_SERVER_OPTS — additional server JVM options (e.g. -Dteamcity.git.fetch.separate.process=false)

But without success. 

Server log file is attached. 
Thanks for your help if you can help me with this issue. 

 

0
2 comments
Avatar
Permanently deleted user
Java version: 1.8.0_202
Java VM info: OpenJDK Server VM (32 bit)
Java Home path: D:\TeamCity\jre
Server: Apache Tomcat/8.5.61
JVM arguments:
-Djava.util.logging.config.file=D:\TeamCity\bin\..\conf\logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dteamcity.git.fetch.separate.process=false -Xrs -Xmx1200m -XX:MaxPermSize=270m -Dteamcity.configuration.path=../conf/teamcity-startup.properties -Dlog4j.configuration=file:../conf/teamcity-server-log4j.xml -Dteamcity_logs=D:\TeamCity\bin\..\logs -Dignore.endorsed.dirs= -Dcatalina.base=D:\TeamCity\bin\.. -Dcatalina.home=D:\TeamCity\bin\.. -Djava.io.tmpdir=D:\TeamCity\bin\..\temp 
0

Hi,

 

unfortunately we got no reference for a log file, if you uploaded one we'd need to have the reference our upload service gives back to locate it on our server. If the issue is still ongoing please consider uploading a new set of logs and give us the ID for it

 

An -Xmx of 1200 typically gives stability problems in windows, we do not recommend going over 1024 without switching to a 64 bit jvm, point at which it makes sense to jump to at least 2-2.5 gb . We have more hints on memory issues in our docs here: https://www.jetbrains.com/help/teamcity/reporting-issues.html#OutOfMemory+Problems

0

Please sign in to leave a comment.