Garbage collector doesn't release memory.
We have an application that process a large amount of data once a day for 10/15 minutes on a redhat linux box using jse 1.5
Under normal operations during the day, less than 300MB is required to process data, however during the peak operations the memory required can go to 2GB.
This application runs on a server that is used by other applications so as to optimize server usage (we have distributed peak processing over time so the machine is more or less always busy).
What is preventing us from truly using the performance of the machine is that the jvm doesn't release the allocated memory, the application sticks at 2GB.
I would expect the GC to release partly the 2GB of RAM, especially as right after the 12 minutes of processing, jvm usage goes down to 300MB.
Simply put, instead of having 12 jvm at 300mb and one jvm at 2Gb we have 13 applications at 2gb, which isn't too great.
ps: This is a follow up on a discussion at java one.