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 7.4 (Build 201310111528) VM: Java HotSpot(TM) Client VM, 24.0-b56, Java(TM) SE Runtime Environment, 1.7.0_40-b43 OS: Linux User Comments: adithyank: I Opened a java source file by clicking it in File > Open Recent File 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:693) at org.netbeans.core.windows.FloatingWindowTransparencyManager.start(FloatingWindowTransparencyManager.java:85) at org.netbeans.core.windows.WindowManagerImpl$3.run(WindowManagerImpl.java:1486) at org.netbeans.core.windows.WindowManagerImpl$Exclusive$1.run(WindowManagerImpl.java:1563) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
Created attachment 142215 [details] stacktrace
How much RAM does your computer has?
My laptop has 4 GB. I did not create this issue manually. The following is what happened. When I was working in the IDE, I Opened a java source file by clicking it in File > Open Recent File. The NDE has frozen. I could not click any thing. So, I killed the IDE using kill command. The next time, when I started the IDE, a pop came and said that NB did not shutdown properly during last time and asked me to report the issue. I clicked Ok to submit the issue.
Before I restarted and submitted the issue, I sent a mail to netcat@netbeans.org mail id with the following contents and attachments. Attaching the same files here also. ----------------------------- Today this issue happened to me again. IDE completely hanged. Not able to click any thing. When ---- While trying to open a java source file "MapServerUtils.java" Build details ------------- OS : CentOS 6.4 L&F : GTK Product Version: NetBeans IDE 7.4 (Build 201310111528) Java: 1.7.0_40; Java HotSpot(TM) Client VM 24.0-b56 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43 System: Linux version 2.6.32-358.23.2.el6.i686 running on i386; UTF-8; en_US (nb) User directory: /root/.netbeans/7.4 Cache directory: /root/.cache/netbeans/7.4 Attachments. ------------ 1. td1.txt, td2.txt - two Thread dumps 2. NB IDE Screenshot 3. IDE Log of this session 4. netbeans.conf. Changes from the default netbeans.conf were done only today. Just an input ----------------------------
Created attachment 142221 [details] thread dump1 : thread dump taken when the IDE was in the frozen condition
Created attachment 142222 [details] thread dump2 : thread dump taken when the IDE was in the frozen condition
Created attachment 142223 [details] screenshot showing the memory values taken when the IDE was in frozen condition.
Created attachment 142224 [details] netbeans.conf: changes done in the file was done only today
Created attachment 142225 [details] messages.log of frozen nb ide session
Looks like a deadlock between org.openide.text.DocumentOpenClose.waitForCloseFinish(DocumentOpenClose.java:312) and org.openide.text.DocumentOpenClose.open(DocumentOpenClose.java:256) Please evaluate, thanks.
"OutOfMemoryError: unable to create new native thread" does not create heap dump so there is not enough information to diagnose and fix this issue. Dev. builds contain workaround so that heap dump is created (issue #252183). Closing this issue as wontfix for now.