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: | Find usages consumes too much memory | ||
---|---|---|---|
Product: | java | Reporter: | Jan Pokorsky <jpokorsky> |
Component: | Refactoring | Assignee: | Jan Pokorsky <jpokorsky> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | pflaska |
Priority: | P2 | Keywords: | PERFORMANCE |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 171188 | ||
Attachments: |
patch postponing creation of positions and data objects
patch not opening document |
Description
Jan Pokorsky
2009-09-02 15:54:15 UTC
Created attachment 86981 [details]
patch postponing creation of positions and data objects
Created attachment 86982 [details]
patch not opening document
The second patch is less aggressive. It does not postpone creating of positions and data objects but ensures that any document is not loaded. Times should be similar to 1. patch. Pavle could you measure it? Original data before patch: 5.5 - 75-95s - Mx256m 6.5.1 - OOME, with Mx increased to 768M 50-65s 6.7.1 - 140-175s, with Mx increased to 768M 85-93s trunk - 155-170s - default -Mx, in this case ~500M. (with Mx256m OutOfMemoryError), with Mx 768M 75-80s eclipse galileo - 12-15s patch - default Mx - 48-64s. Not only the time is dramatically shorter, but the testing machine is not overloaded with many GCs. Great! Thank you. Fixed as jet-main 7545eb6e9ae0. |