My Oracle Support Banner

System.gc() Increases GC's Reserved/Committed Size by Executing Repeatedly on Windows (Doc ID 2717335.1)

Last updated on NOVEMBER 01, 2023

Applies to:

Java SE JDK and JRE - Version 11 and later
Microsoft Windows x64 (64-bit)

Symptoms

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).

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.