In TC9 +, this variable can be set in the TC Server GUI: Administration โ Diagnostics โ Internal Properties โ Change Internal Properties
For 64-bit JVM recommended setting:
TEAMCITY_SERVER_MEM_OPTS=-Xmx4g -XX:MaxPermSize=270m -XX:ReservedCodeCacheSize=350m
Just add this line to the edit box of internal properties
source
share