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 195722 - OutOfMemoryError: unable to create new native thread
Summary: OutOfMemoryError: unable to create new native thread
Status: RESOLVED INCOMPLETE
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: 7.0
Hardware: PC Windows XP x64
: P3 normal with 1 vote (vote)
Assignee: issues@ide
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2011-02-20 14:09 UTC by nicu2005
Modified: 2015-06-25 15:42 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 17974


Attachments
stacktrace (387 bytes, text/plain)
2011-02-20 14:09 UTC, nicu2005
Details
stacktrace (4.50 KB, text/plain)
2012-01-19 15:03 UTC, Vladimir Riha
Details
stacktrace (1.20 KB, text/plain)
2012-01-25 13:49 UTC, aquaglia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nicu2005 2011-02-20 14:09:40 UTC
Build: NetBeans IDE 7.0 Beta 2 (Build 201102140001)
VM: Java HotSpot(TM) Client VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Windows 7

User Comments:
nicu2005: close netbeans after receive another OutOfMemoryError

nicu2005: undeployed the web application in tomcat and run again ...




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 java.util.Timer.<init>(Timer.java:106)
   at org.netbeans.modules.extbrowser.NbDdeBrowserImpl$URLDisplayer.run(NbDdeBrowserImpl.java:291)
   at java.lang.Thread.run(Thread.java:662)
Comment 1 nicu2005 2011-02-20 14:09:48 UTC
Created attachment 106213 [details]
stacktrace
Comment 2 Exceptions Reporter 2011-11-04 12:45:29 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=17974
Comment 3 Rado_ 2011-11-04 18:30:32 UTC
I would like to add I am experiencing this problem since I started use netbeans version 6.8 I never have any other problem except this one. It always crashes after while when I use remote synchronization over ftp to web server. I have some projects which have thousands of small files (few hundred bytes to few kilobytes)
Comment 4 Vladimir Riha 2012-01-19 15:03:31 UTC
Created attachment 115083 [details]
stacktrace
Comment 5 aquaglia 2012-01-25 13:49:07 UTC
Created attachment 115232 [details]
stacktrace
Comment 6 Petr Jiricka 2012-12-10 15:32:24 UTC
I see the most recent report of this problem is from 7.3 beta 2. Unfortunately, OutOfMemoryError reports normally don't contain enough information necessary to analyze the problem. 

So if anyone can reproduce this issue, can I please ask you to get a memory dump (per http://wiki.netbeans.org/FaqMemoryDump) and upload it here?
http://deadlock.netbeans.org/hudson/job/upload/build
Then reopen this bug, please.

That will help us analyze what's wrong. Thanks.