Running Out Of Memory (even after increasing max to 512MB)

I can not longer run TeamCity as whenever I start it up I get the following error:

ERROR - ecution.process.ProcessHandler -

java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.intellij.execution.process.ProcessHandler$5.invoke(ProcessHandler.java:197)
at $Proxy2.onTextAvailable(Unknown Source)
at com.intellij.execution.process.ProcessHandler.notifyTextAvailable(ProcessHandler.java:158)
at com.intellij.execution.process.OSProcessHandler$1.textAvailable(OSProcessHandler.java:78)
at com.intellij.execution.process.OSProcessHandler$ReadProcessThread.checkTextAvailable(OSProcessHandler.java:246)
at com.intellij.execution.process.OSProcessHandler$ReadProcessThread.run(OSProcessHandler.java:218)
Caused by: java.lang.OutOfMemoryError: Java heap space

I have increased the memory available to 512MB from 200 but still get the same error.

Theo

3 comments
Comment actions Permalink

Did you increase memory for the Tomcat or an Agent or for the process the agent starts?

--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

"Theo Harper" <theo_harper@systemsunion.com> wrote in message news:79093.1154517809866.JavaMail.itn@is.intellij.net...
>I can not longer run TeamCity as whenever I start it up I get the following error:
>

ERROR - ecution.process.ProcessHandler -

>

java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.intellij.execution.process.ProcessHandler$5.invoke(ProcessHandler.java:197)
at $Proxy2.onTextAvailable(Unknown Source)
at com.intellij.execution.process.ProcessHandler.notifyTextAvailable(ProcessHandler.java:158)
at com.intellij.execution.process.OSProcessHandler$1.textAvailable(OSProcessHandler.java:78)
at com.intellij.execution.process.OSProcessHandler$ReadProcessThread.checkTextAvailable(OSProcessHandler.java:246)
at com.intellij.execution.process.OSProcessHandler$ReadProcessThread.run(OSProcessHandler.java:218)
Caused by: java.lang.OutOfMemoryError: Java heap space

>

I have increased the memory available to 512MB from 200 but still get the same error.

>

Theo



0
Comment actions Permalink

On Tomcat as this is the process running out of memory.

0
Comment actions Permalink

We've done some memory usage improvements. Will be available in the coming EAP build

--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

"Theo Harper" <theo_harper@systemsunion.com> wrote in message news:14402498.1155052004414.JavaMail.itn@is.intellij.net...

On Tomcat as this is the process running out of memory.



0

Please sign in to leave a comment.