JAVA invalid maximum heap size. The specified size exceeds the maximum representable size -


i have run command fix code xml file:

java -xmx5g -cp .:jsoup-1.8.2.jar checksyntax test.xml > test2.xml 

but gives me error:

invalid maximum heap size: -xmx5g specified size exceeds maximum representable size. 

how can make work?

if jvm 32-bit cannot use switch -d64


Comments

Popular posts from this blog

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

c# - Specify IP End Point in FiddlerCore -

java - Solr query version issue: Invalid version or the data in not in 'javabin' format -