Incompatible minimum and maximum heap sizes specified

Incompatible minimum and maximum heap sizes specified

While working on Java application some time you get out of memory exception and while increasing JVM memory if you pass parameter which is not compatible like below then you will see exception:

-Xms1536m -Xmx1536m

To fix this error please use only one -Xmx parameter

-Xmx1536m

Leave a Reply

Your email address will not be published. Required fields are marked *

I am not Robot *