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 199744

Summary: OutOfMemoryError: unable to create new native thread
Product: ide Reporter: Alexander Simon <alexvsimon>
Component: CodeAssignee: issues@ide <issues>
Status: RESOLVED DUPLICATE    
Severity: normal CC: hmichel
Priority: P3    
Version: 7.0.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 179598
Attachments: stacktrace

Description Alexander Simon 2011-06-27 19:50:02 UTC
Build: NetBeans IDE 7.0.1 RC1 (Build 20110627-c791af59fd5b)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Linux

Stacktrace: 
java.lang.OutOfMemoryError: unable to create new native thread
   at java.lang.Thread.start0(Thread.java:0)
   at java.lang.Thread.start(Thread.java:640)
   at java.util.Timer.<init>(Timer.java:137)
   at org.netbeans.core.ui.sampler.Sampler.run(Sampler.java:145)
   at org.netbeans.core.TimableEventQueue.run(TimableEventQueue.java:213)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424)
Comment 1 Alexander Simon 2011-06-27 19:50:07 UTC
Created attachment 109138 [details]
stacktrace
Comment 2 Martin Entlicher 2011-06-27 22:33:10 UTC
1) This has nothing to do with Output Window.
2) The exception is useless, if the memory is so full that a new thread can not be created, a heap dump is necessary to locate the problem.
Please attach the heap dump and assign to a proper component.
Comment 3 Michel Graciano 2011-11-24 19:12:06 UTC
I am able to reproduce it when trying to reproduce #205437.
Comment 4 Marian Mirilovic 2011-11-25 07:49:10 UTC

*** This bug has been marked as a duplicate of bug 205437 ***