Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b44MquEzmd9QMkZCd7
15 lines
537 B
Plaintext
15 lines
537 B
Plaintext
# The memory half of the rule cannot be emulated with -XX:MaxRAM on 27 or later
|
|
|
|
## JDK 25
|
|
$ java -XX:MaxRAM=1g -XX:+PrintFlagsFinal -version | grep MaxRAM
|
|
uint64_t MaxRAM = 1073741824 {pd product} {command line}
|
|
|
|
## JDK 27
|
|
$ java -XX:MaxRAM=1g -XX:+PrintFlagsFinal -version | grep MaxRAM
|
|
OpenJDK 64-Bit Server VM warning: Ignoring option MaxRAM; support was removed in 27.0
|
|
|
|
## JDK 28
|
|
$ java -XX:MaxRAM=1g -XX:+PrintFlagsFinal -version | grep MaxRAM
|
|
Unrecognized VM option 'MaxRAM=1g'
|
|
Error: Could not create the Java Virtual Machine.
|