Does WTP need: -XX:MaxPermSize=128m? Got out of memory errors... [message #182974] |
Mon, 20 November 2006 15:37 |
Eclipse User |
|
|
|
Originally posted by: peterdnight.yahoo.com
As some of my WTP projects have gotten significantly bigger, I started
getting out of memory errors. I googled it, and came across a posting
suggest using JConsole. Since I am on the latest 1.5 jvm from sun, I gave it
a shot.
Sure enough, with WTP loaded, eclipse permgen memory climbs. There seems to
be a jump every time I do "new servlet", but it seems to keep climbing
slowly under reqular use. By increasing it to 128mb (default is 64m), I can
now easily go a couple of days without restarting.
Posting just in case other people run across this. Any other suggestions are
appreciated....
- Peter
|
|
|
Re: Does WTP need: -XX:MaxPermSize=128m? Got out of memory errors... [message #182982 is a reply to message #182974] |
Mon, 20 November 2006 21:44 |
Seng Phung Lu Messages: 62 Registered: July 2009 |
Member |
|
|
Peter,
Thanks for sharing your experience!
I believe you ran into the following reported problem:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=92250
(Comment #54,in particular, summarizes the issue well.)
You've found the suggested workaround. Depending on how much memory is
on system, further increasing -XX:MaxPermSize ( 512M for 2G machine) may
eliminate the problem for your particular usage pattern.
-Seng
Peter wrote:
> As some of my WTP projects have gotten significantly bigger, I started
> getting out of memory errors. I googled it, and came across a posting
> suggest using JConsole. Since I am on the latest 1.5 jvm from sun, I gave it
> a shot.
>
> Sure enough, with WTP loaded, eclipse permgen memory climbs. There seems to
> be a jump every time I do "new servlet", but it seems to keep climbing
> slowly under reqular use. By increasing it to 128mb (default is 64m), I can
> now easily go a couple of days without restarting.
>
> Posting just in case other people run across this. Any other suggestions are
> appreciated....
>
> - Peter
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03793 seconds