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 47312 - Popup menu in Explorer is leaking memory
Summary: Popup menu in Explorer is leaking memory
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 41535
  Show dependency tree
 
Reported: 2004-08-17 13:53 UTC by Antonin Nebuzelsky
Modified: 2006-03-24 10:11 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
After first invocation of the popup (80.28 KB, image/png)
2004-08-17 13:54 UTC, Antonin Nebuzelsky
Details
After second invocation of the popup (80.41 KB, image/png)
2004-08-17 13:55 UTC, Antonin Nebuzelsky
Details
After third invocation of the popup (80.66 KB, image/png)
2004-08-17 13:55 UTC, Antonin Nebuzelsky
Details
Reference graph for a leaked instance of JPopupMenu (98.12 KB, image/png)
2004-08-17 13:57 UTC, Antonin Nebuzelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antonin Nebuzelsky 2004-08-17 13:53:59 UTC
Repetitive right-clicking on a project's node in
Projects tab leaves the popup, its items and its
UI swing components in memory. See the attached
screenshots of OptimizeIt window.
Comment 1 Antonin Nebuzelsky 2004-08-17 13:54:55 UTC
Created attachment 16884 [details]
After first invocation of the popup
Comment 2 Antonin Nebuzelsky 2004-08-17 13:55:19 UTC
Created attachment 16885 [details]
After second invocation of the popup
Comment 3 Antonin Nebuzelsky 2004-08-17 13:55:44 UTC
Created attachment 16886 [details]
After third invocation of the popup
Comment 4 Antonin Nebuzelsky 2004-08-17 13:57:48 UTC
Created attachment 16887 [details]
Reference graph for a leaked instance of JPopupMenu
Comment 5 Petr Hrebejk 2004-08-17 17:01:45 UTC
Will look at it it looks like there might be some problem with the
actions.
Comment 6 Jesse Glick 2004-08-17 17:05:39 UTC
Probably duplicate of your other bug. The field
CloseProject.popupPresenter should not exist.
Comment 7 Petr Hrebejk 2004-08-18 15:44:40 UTC
Checking in
projectui/src/org/netbeans/modules/project/ui/actions/CloseProject.java;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/actions/CloseProject.java,v
 <--  CloseProject.java
new revision: 1.6; previous revision: 1.5
done
Checking in
projectui/src/org/netbeans/modules/project/ui/actions/CustomizeProject.java;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/actions/CustomizeProject.java,v
 <--  CustomizeProject.java
new revision: 1.5; previous revision: 1.4
done
Checking in
projectui/src/org/netbeans/modules/project/ui/actions/LookupSensitiveAction.java;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/actions/LookupSensitiveAction.java,v
 <--  LookupSensitiveAction.java
new revision: 1.5; previous revision: 1.4
done
Comment 8 Antonin Nebuzelsky 2004-08-19 10:14:50 UTC
Verified.