Community
Participate
Working Groups
Using the Hursely VM in build 20020402 When I import all of Eclipse into the workbench and then do a Text Search on the word Action (I cannot currently bench Java Search due to Bug 12683) the size of java.exe grows from 72,720 K to 118,152K and my heap allocation grows to 50046K. This in an of itself is a pretty bug performance hit. Here are some interesting numbers. After closing the Search results and before a GC I had 45408 extra Strings 4174 extra DataTreeNodes 8237 extra Paths. However this growth is cumulative. If I create a new Simple Project (KH indicated that this resets some internal state)and then run the search again the size of java.exe grows to 138, 480K. A third running brings it to 174,592 K.
When I did a Java Search for References to String in a workbench will all of Eclipse in it my memory footprint went from 85 Med to 184 Meg using the 1.3.1 Hursley VM.
The hursley VM is known to never free memory. This should also be benched on other VMs.
We should do a leak check for a text search. I suspect that the heap growth is caused by tons of matches, they will be freed when the search results are cleared.
*** This bug has been marked as a duplicate of 16731 ***