Releasing unused memory
shade at redhat.com
Thu Oct 18 10:02:18 UTC 2018
On 10/18/2018 11:56 AM, Per Liden wrote:
> Of course, the hard part to answer here is "what's a reasonable GC frequency?". And, of course,
> if it turns out that the workload all of a sudden needs all of that that headroom we were give,
> than it's of course free to use it.
> So, this essentially just means that the heuristics, for calculating when to do a GC, would use
> a "target max capacity" instead of the real "max capacity" (Xmx) as input.
Yes, this is where nasty feedback loops get introduced. We have been down this path, without much
success. Happy to adopt the solution, if any :)
More information about the zgc-dev