zdravím
ostal som v pomykove.
openjdk version "11.0.12" 2021-07-20
OpenJDK Runtime Environment (build 11.0.12+7-post-Debian-2deb10u1)
OpenJDK Server VM (build 11.0.12+7-post-Debian-2deb10u1, mixed mode)
Mám 16GB ram . Program má nastavenie -Xmx4g
čo mi bohužial neberie, max -Xmx2g
je nejaká možnosť ako to nastaviť?
java version
java -XX:+PrintFlagsFinal -version | grep -iE 'HeapSize|PermSize|ThreadStackSize'
intx CompilerThreadStackSize = 512 {pd product} {default}
size_t ErgoHeapSizeLimit = 0 {product} {default}
size_t HeapSizePerGCThread = 33554432 {product} {default}
size_t InitialHeapSize = 67108864 {product} {ergonomic}
size_t LargePageHeapSizeThreshold = 134217728 {product} {default}
size_t MaxHeapSize = 1073741824 {product} {ergonomic}
uintx NonNMethodCodeHeapSize = 5542374 {pd product} {ergonomic}
uintx NonProfiledCodeHeapSize = 123057933 {pd product} {ergonomic}
uintx ProfiledCodeHeapSize = 123057933 {pd product} {ergonomic}
size_t ShenandoahSoftMaxHeapSize = 0 {manageable} {default}
intx ThreadStackSize = 320 {pd product} {default}
intx VMThreadStackSize = 512 {pd product} {default}
openjdk version "11.0.12" 2021-07-20
OpenJDK Runtime Environment (build 11.0.12+7-post-Debian-2deb10u1)
OpenJDK Server VM (build 11.0.12+7-post-Debian-2deb10u1, mixed mode)
ďakujem