Bug 168588

Summary: launching build files causes leak.
Product: [Eclipse Project] Platform Reporter: Kevin Barnes <cocoakevin>
Component: AntAssignee: Kevin Barnes <cocoakevin>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, Darin_Swanson
Version: 3.3Keywords: performance
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Kevin Barnes CLA 2006-12-19 14:24:54 EST
Launching any build.xml causes a memory leak on windows vista. Longer running build files seem to leak more than <echo>Hello World</echo>. I haven't been able to reproduce the leak on XP or OS X, and I haven't been able to reproduce it by launching standard java apps.
I've been building the SWT libraries a lot today and have suffered one OutOfMemoryError
Comment 1 Darin Swanson CLA 2006-12-19 14:38:43 EST
What type of Out of memory: heap or permGen?
Which JVM are you using
Comment 2 Kevin Barnes CLA 2006-12-19 14:46:09 EST
perm gen. Sun 1.5.0_10.
I'll update this PR once I have more info from a profiler.
Comment 3 Darin Swanson CLA 2006-12-19 14:51:22 EST
Note that I have yet to find a profiler that reliably will show me permgen leaks.
Comment 4 Dani Megert CLA 2007-04-03 05:45:32 EDT
Any work planned on this for 3.3?
Comment 5 Kevin Barnes CLA 2007-04-03 09:48:42 EDT
I plan on looking at this some more, but so far I haven't found anything interesting. It also does not appear to be a major issue as I have run a lot of build files, but haven't seen any OOM's since I filed this bug.
Comment 6 Kevin Barnes CLA 2007-05-16 14:54:29 EDT
I'm not seeing this leak anymore. I ran a bunch of builds with a profiler attached and memory usage does not grow.