A life in these times : Civilization, Democracy, Economics, Family, Ideas, Liberal, Life, Multi-Cultural, Principles, Progress, Science, Self, Truth.

Tuesday, March 15, 2005

Bitten by the OOME

It's been a slow blogging week as I've been pre-occupied chasing a Java OutOfMemoryError (OOME). OOME is one of the most dreaded problems in the Java world. Not easy fix other than hooking up a profiler and debugging your way through it. I was impressed by JMP as a Free/OSS tool (No, I'm not using Eclipse so the plugins are of no use to me) specially on win32 systems, however you need a fair bit of memory (+512mb) for a large app. I'd also recommend YourKit on the commercial front.
The problem turned out to be too many String temporaries caused by excessive logging in our app (I didn't discover it...doh!!!). Increasing the JVMs "MaxPermSize" also had a dramatic effect on Garbage Collection.
Some useful links I came across are


Post a Comment

<< Home