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.
When I mounted ten filesystems (in the NetBeans Explorer) and ran command "Update Code Completions..." on some of them, NetBeans became crazy, displayed several exception windows and printed a lot of exceptions to the console and/or to 'ide.log'. It also started installing and uninstalling various sets of modules. Some of the exception messages written into 'ide.log' end with "(Too many open files)".
A patch was created soon after this bug had been found. It will be probably integrated into NB 3.4.1.
Marian , performance issue must have PERFORMANCE keyword, thanks :)
Fixed in the trunk, I guess.
Marian, can you please tell us about your fix? Rev numbers of the changed files for example
Svata dedic has supplied me a patch yesterday evening and told me that he is going to integrate it into NB 3.4.1. It was a patch in nbextra. But Tomas Hurka came to me today and told me that the fix is probably not correct. I do not know the current status of the bug fix. BTW I do not think it influences performance much. It is rather a normal bug which rarely reveals itself.
Fixed in 3.4.1 branch. For trunk / 4.0 there's probably a little more to do - Tomas discovered that, in addition to not closing a file descriptor, the compiler sometimes opens the file twice and does unnecessary InputStream -> char[] -> InputStream conversions. There will be more changes required to fix the situation that we would like to put into a bugfix 3.4.1 release. 3.4.1. fixes the file descriptor leak Trunk/4.0 need probably more elaborate fix (Tomas will work on that if his shedule permits).
*** Issue 29338 has been marked as a duplicate of this issue. ***
Reopening. This issue has to be fixed in trunk together with the problems described in additional comment From Svatopuk Dedic at 2002-12-05 09:04 PST.
Please, don't change Target Milestones just the way YOU LIKE IT, because I like it the other way round. I could forget to mention this issue in CHANGES.html because of you !!!
Fixed in trunk. InputStream is now closed and file content is read only once.
Fix merged to prj40_prototype branch.
*** Issue 26976 has been marked as a duplicate of this issue. ***
Mariane, can you verify it? Thanks
It seems fixed now, indeed. I cannot force NetBeans to fail on "Too many open files" even with 40+ mounted filesystems.
*** Issue 32848 has been marked as a duplicate of this issue. ***
Resolved for 3.4.x or earlier, no new info since then -> closing.