This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes eclipse -  server tomcat - dies after 7-8 restarts (Java heap space) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "eclipse -  server tomcat - dies after 7-8 restarts (Java heap space) " Watch "eclipse -  server tomcat - dies after 7-8 restarts (Java heap space) " New topic
Author

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

Peter Primrose
Ranch Hand

Joined: Sep 10, 2004
Posts: 755
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)
 
Don't get me started about those stupid light bulbs.
 
subject: eclipse - server tomcat - dies after 7-8 restarts (Java heap space)
 
Similar Threads
"Timer-10" java.lang.OutOfMemoryError: Java heap space
Tomcat: Out Of Memory Exception
Problem with Ireport, PermGem space
Using record cache and booking method
java on linux, setting max heap size (-Xmx)