Green_Razor Posted May 24, 2014 Posted May 24, 2014 I am starting an Attack of the B Team server and I want to add more ram. I cannot launch the server with the .bat, but I can use the BTeam.jar to launch it. how do I add more ram to my server? Quote
Loader Posted May 24, 2014 Posted May 24, 2014 You need to add extensions somewhere. Can you run it with a .sh file instead of a .bat? Quote
Green_Razor Posted May 25, 2014 Author Posted May 25, 2014 (edited) You need to add extensions somewhere. Can you run it with a .sh file instead of a .bat? When I try using the .sh file it says windows can't open this file. I'm using Windows 7 btw. How do I add extensions? Edited May 25, 2014 by Green_Razor Quote
disconsented Posted May 25, 2014 Posted May 25, 2014 When I try using the .sh file it says windows can't open this file. I'm using Windows 7 btw. How do I add extensions? Google "view file extentions" and .sh is for unix like OS's.. (not windows) Quote
Green_Razor Posted May 25, 2014 Author Posted May 25, 2014 You need to add extensions somewhere. Can you run it with a .sh file instead of a .bat? I can run the .bat but it gives me an error when I start it. Quote
Loader Posted May 26, 2014 Posted May 26, 2014 Okay, well then that's the problem (the .BAT gives you an error). Post up the error on the Tracker and we'll take a look. Quote
Green_Razor Posted May 26, 2014 Author Posted May 26, 2014 (edited) Okay, well then that's the problem (the .BAT gives you an error). Post up the error on the Tracker and we'll take a look. When I launch launch.bat it give me this error: Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine Edited May 26, 2014 by Green_Razor Quote
Loader Posted May 26, 2014 Posted May 26, 2014 You've set the numbers too high - the 'heap' is an area of memory for late bound code (the early bound stuff is stuff it knows it will need, it goes on something called the 'stack'), when it's trying to put things into the heap to prepare the memory space for use it's hitting the end of what's available, this can mean one of a few things; there's no more free memory (too many programs running) there's no more memory at all (you've told it to use more RAM than the computer has) a larger space has been selected for use than it can address (kinda like the first one, but instead of being pinned in by other programs it's limited when it hits the edge of a 32-bit addressable space for example). This is definitely a tracker thing - please post up there with what you've got in the BAT exactly, how much RAM the computer has and what version of windows you're using (right click on computer and choose properties to get info an the last two, 32/64-bit is important too). Quote
Green_Razor Posted May 26, 2014 Author Posted May 26, 2014 You've set the numbers too high - the 'heap' is an area of memory for late bound code (the early bound stuff is stuff it knows it will need, it goes on something called the 'stack'), when it's trying to put things into the heap to prepare the memory space for use it's hitting the end of what's available, this can mean one of a few things; there's no more free memory (too many programs running) there's no more memory at all (you've told it to use more RAM than the computer has) a larger space has been selected for use than it can address (kinda like the first one, but instead of being pinned in by other programs it's limited when it hits the edge of a 32-bit addressable space for example). This is definitely a tracker thing - please post up there with what you've got in the BAT exactly, how much RAM the computer has and what version of windows you're using (right click on computer and choose properties to get info an the last two, 32/64-bit is important too). I am using Windows 7 with a 64-bit processor. I have 12.0 GB of ram. This is what is in my .bat: java -Xmx2048M -Xms2048M -jar BTeam.jar -o true pause Quote
Loader Posted May 26, 2014 Posted May 26, 2014 Please post up on the tracker along with a launcher log (so we can see which version of java is being used by default). Quote
Green_Razor Posted May 26, 2014 Author Posted May 26, 2014 Please post up on the tracker along with a launcher log (so we can see which version of java is being used by default). What is the tracker? Quote
Loader Posted May 26, 2014 Posted May 26, 2014 It's a section specifically for issues like this and bug reports, it's easier to follow this kind of thing using that. There's a link up the top of the page (next to the forums button) and there's a bunch of links to it and guides to how to get logs and that kind of thing in my sig. 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.