File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: eclipse - server tomcat - dies after 7-8 restarts (Java heap space)