0

I have YouTrack5.x running as a web app in a Tomcat install of TeamCity 8. How do I set configurations up such that I do not get OutOfMemory errors in the YouTrack logs? YouTrack fails to load pages and the entire Tomcat needs to be restarted.

I tried setting TEAMCITY_SERVER_MEM_OPTS to '-Xmx1200m -XX:MaxPermSize=270m'in teh environment variable, but it doesn't seem to do anything.

Stealth Rabbi
  • 10,156
  • 22
  • 100
  • 176

1 Answers1

0

You should increase Xmx for YouTrack application and restart Tomcat.

Botsman
  • 191
  • 1
  • 1
  • 2
  • OK, but how do I do that? Is it a parameter to the Teamcity tomcat service in Windows, or something in the webapp config file? I've already set it in the Envi Variable as mentioned in the question. – Stealth Rabbi Dec 11 '14 at 16:57
  • Well how did you get current installation - you've installed TeamCity from exe distribution and added youtrack.war after? – Botsman Dec 11 '14 at 17:47