Hi,

After reloading my app's module ~20 times, DevMode bogs down and has
to be restarted. Watching it with a profiler, it seems the heap (500mb)
is getting full and GC starts spiking the CPU. Permgen is fine.

I took a heap snapshot with jmap, and in YourKit, it looks like the
AppClassLoader is retaining a bunch of things. A screenshot is here:

http://dl.dropbox.com/u/878466/gwt.png

I can send the full snapshot file offline is anyone wants it.

Looking at the instances of, say, JRealClassType, the first 27
instances are all for lazyQualifiedName=i18n TimeZoneConstants.

So, on one hand, it looks like each module reload gets its own new
JRealClassTypes/etc., but on the other hand, I imagine there has to be
some amount of sharing going own given the 1st load is really slow,
but then the next loads (until the heap is full) are quick.

Do I have any chance of hacking in a fix for this AppClassLoader
retention, or is it just how things have to be? Any pointers would be
greatly appreciated.

Thanks,
Stephen

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to