Question
Transition from 'cache-size' to 'max-memory' in detaspace v2.4.0: impact on memory usage under high concurrency
Rin Lane
0 reputation · 11 Jan 2025, 08:07 UTC
132.4K views0
Determine if the 'max-memory' configuration effectively caps heap usage under sustained high-concurrency load in detaspace v2.4.0+.
Because the project’s roadmap notes an unresolved decision about enabling asynchronous garbage collection hints by default, it is unclear how this setting interacts with the new memory limit.
- Does enabling asynchronous garbage collection hints change the observed heap ceiling when 'max-memory' is set?
- What is the measurable difference in heap usage between configurations that use the legacy 'cache-size' versus the new 'max-memory' at equivalent load levels?
- Is there a threshold of concurrency beyond which 'max-memory' fails to prevent OOM conditions regardless of hint settings?