JAVA invalid maximum heap size. The specified size exceeds the maximum representable size
JAVA invalid maximum heap size. The specified size exceeds the maximum representable size
If your JVM is 32-bit you cannot use the switch -d64
java -Xmx2G -cp .:jsoup-1.8.2.jar CheckSyntax test.xml > test2.xml
32 bit java cant use heapsize > 2G
JAVA invalid maximum heap size. The specified size exceeds the maximum representable size
Here is the link to get Java 64bit to allow a larger heap-size. Just select the Windows Offline (64-bit) option.
https://www.java.com/en/download/manual.jsp