-
Type:
Bug
-
Resolution: Not an Issue
-
Priority:
P4
-
None
-
Affects Version/s: 11.0.2
-
Component/s: core-libs
-
x86_64
-
windows_10
A DESCRIPTION OF THE PROBLEM :
Source:
public static void main(String[] args) {
Runtime runtime = Runtime.getRuntime();
System.out.println(runtime.freeMemory());
runtime.gc();
System.out.println(runtime.freeMemory());
}
Output:
65177344
7649904
FREQUENCY : always
Source:
public static void main(String[] args) {
Runtime runtime = Runtime.getRuntime();
System.out.println(runtime.freeMemory());
runtime.gc();
System.out.println(runtime.freeMemory());
}
Output:
65177344
7649904
FREQUENCY : always