Here is my start.bat file code:
@ECHO OFF
java -Xincgc -Xmx1G -jar Tekkit.jar
PAUSE
Whenever i change the 1G to more then 1 I get this error:]
Invalid maximum heap size: -Xmx4G
The specified size exceeds the maximum representable size.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Press any key to continue . . .
I dont know how to fix it. I reinstalled java 64 bit several times. I have 16G ram on my computer and i just dont know what to do anymore i have tried a lot of things.