Getting out of memory:PermGen space error

Hi All,

I am getting the follwing error ,when i run my selenium build with TeamCity,I have done the following thing to increase the memory for Team City server by adding the below line in my system variable:

TEAMCITY_SERVER_MEM_OPTS= -Xmx750m -XX:MaxPermSize=270m (I am not sure this is a right way ,i have read some where and used it)

But still i am facing the same issue,Please let me know how can i fix this build time is 6 min: 51 seconds


1 comment
Comment actions Permalink


Does the build work when started manually, not by TeamCity agent?
More details about out of memory problems. Try to increase the value in -XX:MaxPermSize=270m.


Please sign in to leave a comment.