A little off topic, but anyway:
It seems that the windows look and feel leaks memory at least in existing versions (1.4.x) This is particularly true if you use the JDesktop with InternalFrames.
I don't know if IDEA uses internal frames (it probably does?) but for me the usage experience is better if I switch to Metal (Java) look and feel.
With windows look and feel my hard drive constantly 'shuffles memory' at short intervals and IDEA becomes more and more memory hungry. This behaviour is almost non existent with Metal look and feel. My laptop stays silent if I'm not actively doing anything with the IDE.
A question to IDEA Developers:
Does IDEA use InternalFrames?
Have you profiled the IDEA and noticed the memory leak?
Have you contacted SUN or submitted a bug report?
This seems very frustrating to me. We are supposed to implement windows applications with Java and even the basic functionality is broken.
Here's an example of SUN code that clearly shows one of the bugs. (It's still not fixed)
Notice that the currentFrame variable is never cleared! Even if you close/dispose/destroy/whatever the InternalFrame the Desktop component will have a reference to it. So it's never GC:d.
There are lots of other bugs too. I know this becouse I tried to overcome this problem by using reflection to null that currentFrame reference after the InternalFrame was disposed. Still the only way to run our app which uses internal frames is to use Java look and feel + this code snippet in overridden dispose method of InternalFrame