Tagged articles
1 articles
Page 1 of 1
MaGe Linux Operations
MaGe Linux Operations
Jul 13, 2023 · Backend Development

How I Diagnosed and Fixed a Persistent Java OOM Crash in Mybatis

The article recounts a production OutOfMemoryError incident caused by heap and metaspace exhaustion in a Java service, analyzes Mybatis's role in the memory leak, reproduces the issue with heavy SQL and multithreading, and offers concrete debugging and code‑optimization steps to prevent future crashes.

DebuggingHeapMemoryJava
0 likes · 6 min read
How I Diagnosed and Fixed a Persistent Java OOM Crash in Mybatis