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.
Please sign in to leave a comment.
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