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.
OS: Mac Steps to reproduce: - Create a JavaFX project - Run the project - Close the project - Leave the IDE for a long time The IDE hangs
java.lang.OutOfMemoryError: Java heap space at java.lang.String.<init>(String.java:208) at java.util.Properties.loadConvert(Properties.java:508) at java.util.Properties.load(Properties.java:331) at org.openide.util.NbBundle.loadBundle(NbBundle.java:559) at org.openide.util.NbBundle.getBundleFast(NbBundle.java:512) at org.openide.util.NbBundle.getBundle(NbBundle.java:438) at org.openide.util.NbBundle.getBundle(NbBundle.java:391) at org.openide.util.NbBundle.getMessage(NbBundle.java:634) at org.netbeans.modules.uihandler.UIHandler.call(UIHandler.java:160) at org.netbeans.modules.uihandler.UIHandler.call(UIHandler.java:65) at org.netbeans.core.NotifyExcPanel.computeOptions(NotifyExcPanel.java:215) at org.netbeans.core.NotifyExcPanel.<init>(NotifyExcPanel.java:166) at org.netbeans.core.NotifyExcPanel.<init>(NotifyExcPanel.java:92) at org.netbeans.core.NotifyExcPanel$2.run(NotifyExcPanel.java:326) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:117) [catch] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) WARNING [org.netbeans.core.TimableEventQueue]: too much time in AWT thread org.netbeans.modules.profiler.actions.SelfSamplerAction$Controller@38f41 WARNING [org.netbeans.core.TimableEventQueue]: no snapshot taken
Product Version = NetBeans IDE Dev (Build 200909151512) (#ebf350cbb86b) Operating System = Mac OS X version 10.5.6 running on i386 Java; VM; Vendor = 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-133; Apple Inc.
Created attachment 87809 [details] IDE log file
Created attachment 87810 [details] ThreadDump
Making this INCOMPLETE - please provide with more data. Leave IDE running "Leave the IDE for a long time" I am not sure what the long time is and some time before you expect this problem to appear, take a snapshot by Profile me now or connect by NB Profiler and get memory snaphot
heap dump would help to analyze OOME
The IDE likely created the heap dump (it is set to do it by default when OutOfMemoryError happens). You can find the location of the heap dump in the log file, e.g. use menu View | IDE Log and search for string -XX:HeapDumpPath We'd need you to share the heap dump somewhere so we could download it. It's too big to attach to an issue report. If you are able to reproduce the problem, you could also create a histogram that would also give us a hint what is wrong, and it is much smaller. See http://wiki.netbeans.org/FaqMemoryDump.
Created attachment 88882 [details] Heap Dump > jmap -histo 5535
Well, jmap histogram is not enough, I am afraid. I can see that there is 17M of ConstMethodKlass, 11M of SymbolKlass, 8MB of ConstantPoolKlass, 8MB of MethodKlass, 6MB of InstanceKlassKlass, 5MB of ConstantPoolCacheKlass. I can also see that there is 50MB of LinkedList.Entry. But I need whole memory dump to find out who is referencing these objects. Please take heap dump (~400MB) and expose it for download on some server.