> Why when setting the extendedState of a JFrame to Frame.ICONIFIED
> release memory?
[quoted text clipped - 11 lines]
> the Frame.ICONIFIED flag?
> Thanks E.
The truth of the matter is that this has more to do with your OS than
anything. Java doesn't release memory it is using, the OS probably has
a paging cache, and determined that a specific set of memory isn't
being used, so it eventually gets bumped out of the cache by things
that ARE using memory.
This isn't unique to Java. I find that if I leave Firefox minimized on
Windows XP for long periods of time, it too will take a while to regain
composure. Even if I don't have it minimized, but just walk away, it
can take some time again.
Hope this helps.
- Daniel.