Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/shared/gc_globals.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"size on systems with small physical memory size") \
range(0.0, 100.0) \
\
product(double, InitialRAMPercentage, 0.2, \
product(double, InitialRAMPercentage, 0.0, \
"Percentage of real memory used for initial heap size") \
range(0.0, 100.0) \
\
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/share/runtime/flags/jvmFlag.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ void JVMFlag::print_on(outputStream* st, bool withComments, bool printRanges) co
// uintx ThresholdTolerance = 10 {product} {default}
// size_t TLABSize = 0 {product} {default}
// uintx SurvivorRatio = 8 {product} {default}
// double InitialRAMPercentage = 1.562500 {product} {default}
// double InitialRAMPercentage = 0.000000 {product} {default}
// ccstr CompileCommandFile = MyFile.cmd {product} {command line}
// ccstrlist CompileOnly = Method1
// CompileOnly += Method2 {product} {command line}
Expand Down
3 changes: 1 addition & 2 deletions src/java.base/share/man/java.md
Original file line number Diff line number Diff line change
Expand Up @@ -2455,8 +2455,7 @@ Java HotSpot VM.
`-XX:InitialRAMPercentage=`*percent*
: Sets the initial amount of memory that the JVM will use for the Java heap
before applying ergonomics heuristics as a percentage of the maximum amount
determined as described in the `-XX:MaxRAM` option. The default value is
0.2 percent.
determined as described in the `-XX:MaxRAM` option.

The following example shows how to set the percentage of the initial
amount of memory used for the Java heap:
Expand Down