semirotta Posted July 17, 2012 Posted July 17, 2012 I try to add more memory usage for my server tekkit server I got 6Gib RAM This what is in my launcher now: java -Xmx1G -Xms1G -jar Tekkit.jar nogui pause When i change it to -Xmx2G -Xms1G , it says this: How am i going to fix this? NOTE: I HAVE SEMICRAFT SERVER WITH 4G RAM USAGE! AND IT WORKS FINE! Semicraft server is NOT running while Tekkit is.
Torezu Posted July 18, 2012 Posted July 18, 2012 What's your Java version? If it's 32-bit, it won't let you allocate more than 1.5GB directly to Java. Semicraft probably works around that.
semirotta Posted July 18, 2012 Author Posted July 18, 2012 What's your Java version? If it's 32-bit, it won't let you allocate more than 1.5GB directly to Java. Semicraft probably works around that. Oh right i forgot to put it there. I use java 7 64 bit. I have the 6 gig ram in use, semicraft runs with 4 gig but not the same time as tekkit one. So i dont kind a know what to do, it should allow me to increase ram usage up to 4 gig atleast :/ Can i use THIS: @ECHO OFF SET BINDIR=%~dp0 CD /D "%BINDIR%" "%ProgramFiles%\Java\jre7\bin\java.exe" -Xincgc -Xms1G -Xmx4G -jar craftbukkit-1.2.5-R4.0.jar -nojline PAUSE from my semicraft launcher instead of the TEKKIT launchers code? EDIT: Ok i changed the tekkit's own code from launcher into @ECHO OFF SET BINDIR=%~dp0 CD /D "%BINDIR%" "%ProgramFiles%\Java\jre7\bin\java.exe" -Xincgc -Xms1G -Xmx4G -jar tekkit.jar -nojline PAUSE and it worked Launcher starts the server now with i believe 4G :)
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