Jump to content

Recommended Posts

Posted

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:

6is36w.png

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.

Posted

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 :D Launcher starts the server now with i believe 4G :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...