This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 111051 - Create annotation/suggestion on 'OutofMemory: PermGen space
Summary: Create annotation/suggestion on 'OutofMemory: PermGen space
Status: NEW
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-26 08:42 UTC by tomzi
Modified: 2007-08-30 17:38 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
messages.log (95.34 KB, application/octet-stream)
2007-07-30 08:48 UTC, tomzi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tomzi 2007-07-26 08:42:36 UTC
Sometimes, especially after I reinstalled or upgraded Nb and when I start the server I get a 'OutofMemory: PermGen
space' error. It would be nice to have some help by netbeans here, how to resolve this issue.

I suggest to create an annotation or link on the error in the outputwindow, which opens some help system with a little
guide how to create '-Xms64m -Xmx64m -XX:PermSize=128m -XX:MaxPermSize=512m' VM Options and what they mean. 

I usually end up harvesting the internet on any information every time. This does not have to be like that.
Comment 1 Peter Pis 2007-07-26 12:17:40 UTC
Have you also tried to run NB with fresh user dir, if so have you encountered this problem either?
Comment 2 Peter Pis 2007-07-26 12:20:48 UTC
Please also attach the messages.log. Thanks.
Comment 3 tomzi 2007-07-30 08:48:56 UTC
Created attachment 45875 [details]
messages.log
Comment 4 tomzi 2007-07-30 08:53:11 UTC
Above the log file, but it doesn't show the error. This one is displayed as the last line of the Tomcat 5.5 output panel
(not the Tomcat 5.5 log panel) in the ide.
The application started correctly, but when I tried to access some jsf file and the tomcat loaded all jsf related
context it gives me this error:

    java.lang.OutOfMemoryError: PermGen space

But with following tweaks in the tomcat settings it seems to work: 

    -Xms128m -Xmx128m -XX:PermSize=512m -XX:MaxPermSize=512m 

Comment 5 Peter Pis 2007-07-30 09:20:11 UTC
Reassigning to "tomcatint" for evaluation...
Comment 6 Sherold Dev 2007-07-30 14:23:21 UTC
Hint like this might be useful, changing to enhancement...