System.gc() Increases GC's Reserved/Committed Size by Executing Repeatedly on Windows
(Doc ID 2717335.1)
Last updated on OCTOBER 21, 2020
Applies to:Java SE JDK and JRE - Version 11 and later
Microsoft Windows x64 (64-bit)
The reserved/committed size of a Java Virtual Machine process is increased continuously when System.gc() is run repeatedly on Windows. A sample test case is below:
(*)The pslist command is provided by Microsoft at PsList (Microsoft).
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document