NIGHTMARE_1990 Posted December 5, 2012 Posted December 5, 2012 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 Here are my PC stats.
DaSoul Posted December 5, 2012 Posted December 5, 2012 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.
NIGHTMARE_1990 Posted December 5, 2012 Author Posted December 5, 2012 Oh i didn't know that. while running tekkit i have 1620MB free. So i should be able to allocate 1500 extra MB on top of what tekkit is currently using correct?
Wendo Posted December 5, 2012 Posted December 5, 2012 You'll also want to make sure you have 64bit java installed
NIGHTMARE_1990 Posted December 5, 2012 Author Posted December 5, 2012 i have 64-bit java yes. But even when i change my values to -Xm2G -Xms1G it still says i have not enough memory. Is there a way to reduce RAM usage elsewhere while i play tekkit?
havocx42 Posted December 5, 2012 Posted December 5, 2012 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.
havocx42 Posted December 5, 2012 Posted December 5, 2012 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.
NIGHTMARE_1990 Posted December 5, 2012 Author Posted December 5, 2012 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.
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