32 GB Will Be Enough for Everyone
summary
Explains how JVM memory tuning around the 32 GB boundary can backfire: increasing -Xmx may actually increase memory use due to JVM optimizations like compressed oops, compressed class pointers, and newer compact object headers. Describes how those options affect real memory footprint and gives guidance for applications approaching the 32 GB threshold.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 1:02Talk motivation
- 2:48Compact headers project
- 4:11Java object memory
- 5:5932 GB memory limit
- 8:07Memory optimization
- 9:51JVM memory tools
- 13:00JCMD heap analysis
- 16:50Java Object Layout
- 20:05Experiment: compressed references
- 24:46Compressed class pointers
- 26:08Object alignment experiment
- 29:44Compact Object Headers
- 34:00String deduplication
- 41:22Key takeaways
- 42:48Q&A
