Bug 168588 - launching build files causes leak.
Summary: launching build files causes leak.
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Kevin Barnes CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2006-12-19 14:24 EST by Kevin Barnes CLA
Modified: 2007-05-16 14:54 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.