Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Peter Primrose
Ranch Hand
Posts: 755
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I'm using eclipse 3.3.1.1; 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!

Peter


* 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