Not so long ago, in a galaxy not very far away... a middle-aged
programmer battled to free memory from the dark side of the
hibernate query cache. He was successful, or so it seemed.
For the query cache memory problems had risen from the ashes --
stronger and more bloated than ever...
What's With All This Garbage?
We hit a case at work (again), where the java server process came
to a grinding halt. It wasn't dead, it just wasn't making
much forward progress either. A quick look at the heap
stats showed we were nearly at capacity and that garbage
collection was eating all CPU time, thus not allowing any real
work to happen. Looks like it is time to whip out the ol'
memory profiler. This time I went with Eclipse's Memory Analysis
Tool . …