There was a config called maxBytesLocalHeap
in Ehcache 2.x
where we could enter a heap percentage value. I couldn't find an equivalent in 3.x
, but there's nothing about deprecation in release notes or migration guides.
Is there a way to specify Ehcache heap size by JVM heap percentage in versions 3.x
?
I don't think you can limit it by percentage. The only place I was able to find indicating that it was deprecated was this one.
You can however, do this by the number of entries or byte size: