Maximum heap space limits in java

I have a program that requires a lot of memory and wants to set the maximum heap space to 6024 MB. Java gives me an error:

Invalid maximum heap size: -Xmx6024m
The specified size exceeds the maximum representable size.

Is there a workaround?

+3
source share
2 answers

, Java. . Sun VM . Oracle JRockit VM. - , Sun VM Linux, Windows XP. , - , 64- ...

Edit:

Java JVM Java 32- Windows.

+5

64- ? , , .

+1

Source: https://habr.com/ru/post/1739969/


All Articles