Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 22:29 Go to next message
nw60312 is currently offline nw60312Friend
Messages: 14
Registered: July 2009
Junior Member
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 13:33 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
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 09: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: Sat Dec 21 16:50:38 GMT 2024

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

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

Back to the top