Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » java.lang.OutOfMemoryError on virgo
java.lang.OutOfMemoryError on virgo [message #651916] Wed, 02 February 2011 04:18 Go to next message
dimas  is currently offline dimas Friend
Messages: 7
Registered: November 2010
Junior Member
when i run some vaadin application in virgo, running in win2003 server with 4GB of RAM, it shows this error

Cause: java.lang.OutOfMemoryError: Java heap space


so i trace it with task manager.
i found that virgo console begin displaying that error when memory usage of java.exe start reaching 136.000KB

I dont have idea how to fix this..
i already set JAVA_OPTS with -XX:MaxPermSize=1536M in system environtment variable. but i have no luck
the error is still there..

can anyone help me please?
Re: java.lang.OutOfMemoryError on virgo [message #651924 is a reply to message #651916] Wed, 02 February 2011 05:14 Go to previous message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
You need to increase -Xmx to avoid running out of heap.

-XX:MaxPermSize only affects the permgen rather than the (whole) heap.
Previous Topic:Spring, OSGi, Virgo, Gemini - the Big Picture?
Next Topic:Bundle-ClassPath header not recognized by tool
Goto Forum:
  


Current Time: Fri Dec 19 09:25:16 GMT 2014

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

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