Bug 127111 - Opening WorkbenchPage.java creates 35M of garbage
Summary: Opening WorkbenchPage.java creates 35M of garbage
Status: RESOLVED DUPLICATE of bug 90182
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2006-02-09 12:40 EST by Nick Edgar CLA
Modified: 2006-02-09 12:53 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Edgar CLA 2006-02-09 12:40:07 EST
build I20060208

I noticed that my heap size was getting pretty large (it's up at 215M).
Wondering whether there was a leak, I tried opening and closing various Java editors.
Although I didn't find an obvious leak, it does look like a -lot- of garbage is getting created.

Steps:
- new window in Java perspective
- close all views except Outline view
- open type on WorkbenchPage.java (with org.eclipse.ui.workbench checked out from HEAD)
- close it
- force a GC by clicking on GC button in heap status monitor
- note the heap level
- reopen the file from the File menu (Alt+F, 1)
- note the increase in heap

I'm seeing an increase of 35M.  With the Outline view closed, it's around 30M.

- close the editor
- force a GC
- it's back to the original level, indicating no major leak
Comment 1 Dani Megert CLA 2006-02-09 12:53:07 EST

*** This bug has been marked as a duplicate of 90182 ***