Not a bug?
Peter B. Kessler
Peter.B.Kessler at Oracle.COM
Mon Sep 23 16:36:41 UTC 2013
Before you close that one you should check that all our collectors *do* release memory back to the operating system if an application drops references. The damping parameters might need some tweaking for the sizes of heaps we see now as opposed to when the parameters were last tuned. I think those parameters can be set on the command line, but I don't think they can be changed by a running application, which might be what the request is asking for.
It would be interesting to know whether recovering 1GB of heap from swap space is more efficient than rebuilding a 1GB heap from breadcrumbs left in a "minimized" application. That is: does the operating system already provide adequate functionality for this RFE? I suspect that the answer is: "It depends on the application." (It probably also depends on the operating system.)
On 09/23/13 08:41, Jesper Wilhelmsson wrote:
> I stumbled across this RFE: JDK-6498735: JVM should be able to fully release allocated memory
> I agree with Peter's assessment in the bug that it should be closed as "not a bug". What do others think?
More information about the hotspot-gc-dev