Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

eclipse - server tomcat - dies after 7-8 restarts (Java heap space)  RSS feed

Peter Primrose
Ranch Hand
Posts: 755
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I'm using eclipse; I have a J2EE application (Struts2) and I'm using the Server perspective to start/close my tomcat.

Problem is that I get: java.lang.OutOfMemoryError: Java heap space
after 7-8 times of restarting the server (so i have to restart eclipse...yakk)

does anyone know how to solve this with the server perspective?
thank you so much!


* When I used my tomcat eclipse plugin from sysdeo I added the lines:
-Xmx1024m -Xms512m to the JVM settings and it worked alright (wonder where to plug this info in the servers perspective)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!