Hi,
 
I'm using Tomcat 6.0.18, Eclipse 3.3.2 and JDK 1.5.0_14.  I've created a
test server using my Tomcat installation and 
provide these VM args in my launch configuration -Xms512m -Xmx768m
-XX:PermSize=128m.  Whenever I publish a web project to it I get the
following error:
 
!ENTRY org.eclipse.core.jobs 4 2 2008-12-17 14:32:52.110
!MESSAGE An internal error occurred during: "Publishing to Tomcat v6.0
Server at localhost...".
!STACK 0
java.lang.OutOfMemoryError: Requested array size exceeds VM limit
 at
org.eclipse.wst.server.core.internal.ModulePublishInfo.loadResource(ModulePublishInfo.java:189)
 at
org.eclipse.wst.server.core.internal.ModulePublishInfo.load(ModulePublishInfo.java:184)
 at
org.eclipse.wst.server.core.internal.ModulePublishInfo.<init>(ModulePublishInfo.java:84)
 at
org.eclipse.wst.server.core.internal.ServerPublishInfo.load(ServerPublishInfo.java:274)
 at
org.eclipse.wst.server.core.internal.ServerPublishInfo.<init>(ServerPublishInfo.java:56)
 at
org.eclipse.wst.server.core.internal.PublishInfo.getServerPublishInfo(PublishInfo.java:75)
 at
org.eclipse.wst.server.core.internal.Server.getServerPublishInfo(Server.java:843)
 at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:886)
 at org.eclipse.wst.server.core.internal.Server.publish(Server.java:874)
 at
org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:72)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
 
This does not happen the first few times I run a project after creating the
server, but always pops up within a few opening/closings of my workspace and
does not go away until I delete the server and re-create it.  I can continue
to do that, but it is a pain and I'd really really like to know how I can
fix it.  I've looked for other threads on the topic and any I've found have
resorted to the delete / recreate approach.
 
Any help gratefully appreciated,
 
Barbara
-- 
View this message in context: 
http://www.nabble.com/Recurrent-OutOfMemoryError-during-Eclipse-publish-operation-to-test-environment-tp21070285p21070285.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to