Skip to main content

Kirk Pepperdine: The Hotspot JVM is a Ponzi Scheme [guest post]

Every once in a while I run into someone that has a Hotspot JVM that is running back to back garbage collections and yet the heap is still almost full after each attempt! When they discover that their problem is related to the JVM not having enough memory they often ask the question, why didn’t the JVM throw an OutOfMemoryError (OOME)? After all, my application is not making any forward progress and the reason is Java heap is almost completely exhausted, right? First things first...

Community: General