eclipse - server tomcat - dies after 7-8 restarts (Java heap space)
Peter Primrose
Ranch Hand
Joined: Sep 10, 2004
Posts: 755
posted
0
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)