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.
Summary: | NetBeans does not close all open file descriptors. | ||
---|---|---|---|
Product: | java | Reporter: | Marian Petras <mpetras> |
Component: | Unsupported | Assignee: | Tomas Hurka <thurka> |
Status: | CLOSED FIXED | ||
Severity: | blocker | Keywords: | PERFORMANCE |
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 34165 |
Description
Marian Petras
2002-12-05 09:09:30 UTC
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. |