Helloman2124 Posted July 2, 2013 Posted July 2, 2013 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. Quote
Chillian Posted July 6, 2013 Posted July 6, 2013 i dont know if it will help, this is what i use tho. -Xmx8096M -Xms8096M -jar Tekkit.jar Quote
Helloman2124 Posted July 7, 2013 Author Posted July 7, 2013 i got it i used this @ECHO OFF SET BINDIR=%~dp0 CD /D "%BINDIR%" "C:WindowsSystem32java.exe" -Xmx6g -Xms4g -jar tekkit.jar PAUSE Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.