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

Summary: OutOfMemoryError: PermGen space
Product: editor Reporter: sittingpilgrim
Component: -- Other --Assignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 197594
Attachments: stacktrace

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