Helloman2124 Posted July 2, 2013 Share 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. Link to comment Share on other sites More sharing options...
Helloman2124 Posted July 2, 2013 Author Share Posted July 2, 2013 can anyone help please? Link to comment Share on other sites More sharing options...
Chillian Posted July 6, 2013 Share Posted July 6, 2013 i dont know if it will help, this is what i use tho. -Xmx8096M -Xms8096M -jar Tekkit.jar Link to comment Share on other sites More sharing options...
Helloman2124 Posted July 7, 2013 Author Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now