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. Quote
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. Quote
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? Quote
Wendo Posted December 5, 2012 Posted December 5, 2012 You'll also want to make sure you have 64bit java installed Quote
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? Quote
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. Quote
NIGHTMARE_1990 Posted December 5, 2012 Author Posted December 5, 2012 I have java version 1.7.0_09 Quote
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. Quote
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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.