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 50834 - Poor recovery from too many open files exception
Summary: Poor recovery from too many open files exception
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-26 03:19 UTC by Jesse Glick
Modified: 2008-03-21 03:19 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file and final thread dump when it would not exit (54.80 KB, text/plain)
2004-10-26 03:20 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2004-10-26 03:19:02 UTC
Dev sources, JDK 1.5.0. I find that if I add 100
sample JARs (no sources/classes in them) to a
j2seproject, no problem. But if I add 300, I get
exceptions. Apparently there are too many open
files - in the MDR database, it seems.

OK, there are limits (though this seems a
dangerously low limit), but the error recovery is
very poor. A bunch of exceptions are thrown
halfway through scanning classpaths, and the
scanning dialog closes. Then if you try to shut
down, there are more exceptions while the shutdown
dialog is showing, and the process does not exit;
you have to kill it from a shell.
Comment 1 Jesse Glick 2004-10-26 03:20:46 UTC
Created attachment 18507 [details]
Log file and final thread dump when it would not exit
Comment 2 Martin Matula 2005-08-23 16:43:20 UTC
Since the "too many open files" problem should be gone now, this has a very low
priority.
Comment 3 Unknown 2008-03-20 14:52:32 UTC
This isn't gone.
I see it on:

Product Version: NetBeans IDE 6.0 (Build 200711261600)
Java: 1.6.0_04; Java HotSpot(TM) 64-Bit Server VM 10.0-b19
System: Linux version 2.6.24-2.6.24.3.slh.6-sidux-amd64 running on amd64; UTF-8; en_US (nb)
Userdir: /home/sasbeb/.netbeans/6.0
Comment 4 Martin Matula 2008-03-20 16:05:13 UTC
6.0 does not contain MDR so this must be in some other component. Could you please attach your log file?
Comment 5 Unknown 2008-03-20 16:51:32 UTC
This seems to be cleared up after clearing the cache.
I hit it after changing the dependencies of a project.
Comment 6 Lukas Hasik 2008-03-20 17:31:23 UTC
sasbeb, are you running full IDE?
Comment 7 Jesse Glick 2008-03-20 21:08:51 UTC
The original issue I reported was really specific to MDR and is obsolete as of NB 6.0. sasbeb, if you are seeing an
issue in NB 6.0 please file a fresh bug report (component: 'ide'), attach your log file, and note any steps to reproduce
you might have.
Comment 8 Unknown 2008-03-21 03:19:02 UTC
No problem....
I was just trying to piggy back on an issue already filed, which was really not resolved.
The thing is, I can't reproduce it now that I cleared my cache.
I think I filed an rfe for that one (that is a tool in the toolbar to clear the cache, or at least re-index
it)