Recently, we experienced some excessive memory consumption that was leading our servers into an out-of-memory (OOM) condition. To troubleshoot the issue, we needed a way to identify any large objects that were filling up the heap. As it turns out, there’s a JVM argument for this. Generic JVM argument: -Xdump:stack:events=allocation,filter If you set this option, whenever […]