Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Setting Tomcat JVM heap size for M9
Setting Tomcat JVM heap size for M9 [message #150076] Wed, 30 November 2005 17:29 Go to next message
Eclipse UserFriend
I keep getting java.lang.OutOfMemoryError: Java heap space exceptions. I
have the VM arguments set to: -Djava.opts="-Xms256m -Xmx1024m". It feels
like the setting is not being accepted by Tomcat (5.5.12 on Windows). Is
this not the correct setting?

Thanks!
Re: Setting Tomcat JVM heap size for M9 [message #150353 is a reply to message #150076] Thu, 01 December 2005 08:33 Go to previous messageGo to next message
Eclipse UserFriend
I believe if you leave off the -Djava.opts part and just include the
"-Xms256m -Xmx1024m" (without the quotes), it will accomplish what you want.

Larry

Nathan Wilhelmi wrote:
> I keep getting java.lang.OutOfMemoryError: Java heap space exceptions. I
> have the VM arguments set to: -Djava.opts="-Xms256m -Xmx1024m". It feels
> like the setting is not being accepted by Tomcat (5.5.12 on Windows). Is
> this not the correct setting?
>
> Thanks!
Re: Setting Tomcat JVM heap size for M9 [message #150437 is a reply to message #150076] Fri, 02 December 2005 04:48 Go to previous message
Eclipse UserFriend
Originally posted by: cooll.free.fr

Nathan Wilhelmi wrote:
> I keep getting java.lang.OutOfMemoryError: Java heap space
> exceptions.

By the way, I have quite often OutOfMerroryError: PermGen space with 0.7.1
when launching tomcat 5.5 on applications that didn't have this problem with
M3/M5.
Increasing PermGen space decreased the frequency, but it still happens.
Is this a known bug ?
Previous Topic:M8 to M9 upgrade gives duplicate class files
Next Topic:StructuredEditors with non default IEditorInput
Goto Forum:
  


Current Time: Fri May 09 00:00:54 EDT 2025

Powered by FUDForum. Page generated in 0.03547 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top