Jump to content

Recommended Posts

Posted

im trying to add more RAM to my tekkit server via the launch.bat file.

It works if im using: java -Xmx1G -Xms512M -jar Tekkit.jar nogui

pause

but if i raise the values any higher my server cmd says

problems2.jpg

Here are my PC stats.

problems3.jpg

Posted

Just look into your taskmanager how much ram you really have for free use. Having 8GB doesn't mean you can allocate several gigabyte.

The value after "free" is what you can allocate to java.

freememtaskmgr.jpg

Posted

Just look into your taskmanager how much ram you really have for free use. Having 8GB doesn't mean you can allocate several gigabyte.

The value after "free" is what you can allocate to java.

This is incorrect, the cached memory is also available to be reallocated. Windows tries to use as much memory as possible which is why you can never have too much memory.

Nightmare_1990:Can you open the command line and type "java -version" and post the output please.

Posted

And you are certain that it is using a 64 bit version of Java? Bearing in mind that its possible to have many versions of java installed? If when you type java -version it says 64bit then it should be ok.

This is exactly the problem you would expect if a 32 bit JVM was being used.

Posted

Turns out that i did indeed have both 32 bit and 64 installed. i uninstalled both and reinstalled just 64 bit, then changed my Exception Path to the 64 bit java and it lets me allocate more RAM now, however my game is still crashing, but ive read that advanced machines cause 3.1.3 servers to crash, will try and destroy my advanced machine, and post an update of progress.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...