Apparently, I am having a headache trying to install Digichat.

It seems JVM on my server is somehow messed up.
It keeps giving me the error below.

Code:
Invalid maximum heap size: -Xmx50331648
Could not create the Java virtual machine.
I tried to increase maximum heap size, but it keeps giving me invalid error.
I am on a dedicated server.
Any solutions?