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 37420

Summary: TreeView expand/collapse postprocessing batching policy can cause memleak
Product: platform Reporter: Petr Nejedly <pnejedly>
Component: ExplorerAssignee: Jiri Rechtacek <jrechtacek>
Severity: blocker Keywords: PERFORMANCE, SIMPLEFIX
Priority: P2    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Petr Nejedly 2003-11-21 16:07:16 UTC
If you close one (potentially big) node (A) and
during the freeing timeout expand or collapse
another one (B), the A's children won't be freed
until A is expanded and collapsed again.

It would be better to not batch the requests at
all and process each of them independently. Such
change will fix the problem and also simplify the

There is no reason why should the unrelated
requests be batched to the last one.
Comment 1 Jiri Rechtacek 2003-11-24 15:52:09 UTC
fixed in openide/src/org/openide/explorer/view/, rev. 1.144
Comment 2 Lukas Hasik 2004-02-26 15:10:46 UTC
Petr, could you please verify ? thanks advance.
Comment 3 Petr Nejedly 2004-02-26 15:43:34 UTC
It's OK now