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 267756 - OutOfMemoryError: PermGen space
Summary: OutOfMemoryError: PermGen space
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-29 22:00 UTC by sittingpilgrim
Modified: 2016-08-29 22:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 197594


Attachments
stacktrace (2.45 KB, text/plain)
2016-08-29 22:00 UTC, sittingpilgrim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sittingpilgrim 2016-08-29 22:00:49 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) Client VM, 24.60-b09, Java(TM) SE Runtime Environment, 1.7.0_60-b19
OS: Windows 7

User Comments:
GUEST: cannot connect to tomcat server,while executing jsp program

GUEST: Editting/compiling with mutliple windows open > 15

GUEST: Just editing. Running glassfish/derby.

GUEST: nothing.  just flipped between tabs using ctrl+tab

GUEST: Running a short progam multiple times, the IDE runs out of PermGem space.

GUEST: Netbeans x64 locks and crashes occasionally. It is not significantly overloaded.
This problem seems to be particularly evident after a situation where - in attempting to use different JVM options i.e LargePaging, the editor was run as administrator (since largepaging asonly accessible to that user). After this point Netbeans then faulted several times on startup loading modules..specific error was

java.lang.IllegalStateException: Were trying to install a module that had never been checked: StandardModule:org.netbeans.libs.javafx

See also reference to bug ID 239959 "NetBeans fails to start up after switching from JDK8 to JDK7"

sittingpilgrim: Another memory error, but prev it was java heap space

GUEST: Made a profiling, GUI frozen.

GUEST: When commenting /** */ the first /** causes the whole php file to become a comment very quickly which caused the IDE to freeze and the memory to become filled somehow. Should change it to where the comment takes effect when the */ is added

GUEST: ma netbea n seems to hang after the program is been run

GUEST: Happens a lot guys.

GUEST: just flicking through files using ctrl+tab

GUEST: While compiling for debug mode.




Stacktrace: 
java.lang.OutOfMemoryError: PermGen space
   at sun.misc.Unsafe.defineClass(Unsafe.java:0)
   at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:0)
   at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:0)
   at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:0)
   at java.security.AccessController.doPrivileged(AccessController.java:0)
   at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:0)
Comment 1 sittingpilgrim 2016-08-29 22:00:52 UTC
Created attachment 161810 [details]
stacktrace