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: | Memory leak in some refactoring cache | ||
---|---|---|---|
Product: | editor | Reporter: | Jaroslav Tulach <jtulach> |
Component: | Refactoring | Assignee: | issues@java <issues> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | Keywords: | PERFORMANCE, TEST |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 121855 |
Description
Jaroslav Tulach
2008-01-04 15:10:48 UTC
Jardo, this is not memory leak. UndoManager holds this data intentionaly as long as Refactoring Undo is available. Maybe I can clear UndoManager when projects are being closed... Right now it looks a bit like memory leak. How to clear the Refactoring Unco cache? Type something in editor? That is had to do when every project and source file is closed. Any other, simpler gesture to clear it? If not, then I agree it is good idea to clear the undo when some project is closed. Fixed I hope. Checking in src/org/netbeans/modules/refactoring/spi/impl/UndoManager.java; /cvs/refactoring/api/src/org/netbeans/modules/refactoring/spi/impl/UndoManager.java,v <-- UndoManager.java new revision: 1.9; previous revision: 1.8 done Checking in nbproject/project.xml; /cvs/refactoring/api/nbproject/project.xml,v <-- project.xml new revision: 1.14; previous revision: 1.13 done |