Community
Participate
Working Groups
I20050420-1200 In a huge YourKit memory trace, I see that DocumentManager holds 303 Documents in memory. I used local history before, but when I made the dump, no local history dialog was up. YourKit says that the 'Retained size' of the array fgValues is 75,393,728 bytes. [Snapshot on my machine: I20050420-1200_1.5.0_20050425_1004.memory]
Created attachment 20291 [details] references from DocumentManager
I've used 'compare with local history' on a java method several times. No compare editor was open, but the synchronize view had 2 synchronizations that compared HEAD of a project with a previous tag. Closing all editors and removing all synchronizations from the synchronize view did not free the retained documents and did not remove the many HistoryItems.
*** Bug 69338 has been marked as a duplicate of this bug. ***
FYI: I did not find any HistoryItems in snapshots of recent builds. The leak could have been caused by differences in the sequence of part events sent out by the workbench (which has caused problems in other areas, too). AFAIK, the original behavior has been resored in the meantime.
I've fixed a leak.