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.
Build: NetBeans IDE 8.0.1 (Build 201408251540) VM: Java HotSpot(TM) 64-Bit Server VM, 24.65-b04, Java(TM) SE Runtime Environment, 1.7.0_67-b01 OS: Windows 7 User Comments: GUEST: OutOfMemoryError: PermGen space divinity: it freeze Stacktrace: java.lang.OutOfMemoryError: PermGen space at java.lang.ClassLoader.defineClass1(ClassLoader.java:0) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at org.netbeans.JarClassLoader.doLoadClass(JarClassLoader.java:289) at org.netbeans.ProxyClassLoader.selfLoadClass(ProxyClassLoader.java:259) at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
Created attachment 150792 [details] stacktrace
I couldn't extract report 768117 and rest two (748253, 754585) are from same user. It seems Lookup filled Perm Memory.
I'm sorry, I have no idea what could be wrong. Reassigning to platform/Module System. Tomas, can you please evaluate? Thank you.
None of the reports have: -XX:MaxPermSize=384m specified as command line option. Since all reports are from JDK 7, it means that default 96M PermSize is used and this causes OOME: PermSize. For some reason launcher thinks that netbeans is running on JDK 8 and it did not append -XX:MaxPermSize=384m command line option. Note also that it happens only on Windows.
Reassigning to platform/launcher.
Without launcher log we cannot do anything... To get launcher log please run NetBeans with --trace option: netbeans.exe --trace launcher.log Then please attach the log and reopen. Thanks
I cannot reproduce this bug. When I start NetBeans on Windows 7 64bit with JDK 7u51, IDE Log contains "-XX:MaxPermSize=384m". I tried both netbeans.exe and netbeans64.exe. Maybe there is some problem with JDK installation. Reporters, can you please try explicitly setting JDK home in netbeans.conf? (netbeans_jdkhome, see http://wiki.netbeans.org/FaqNetbeansConf) Thank you. Product Version: NetBeans IDE Dev (Build 20150731-0f4c61a19fcc) Java: 1.7.0_51; Java HotSpot(TM) 64-Bit Server VM 24.51-b03 Runtime: Java(TM) SE Runtime Environment 1.7.0_51-b13 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) User directory: C:\Users\jhavlin\AppData\Roaming\NetBeans\dev Cache directory: C:\Users\jhavlin\AppData\Local\NetBeans\Cache\dev
*** Bug 251514 has been marked as a duplicate of this bug. ***