Overclock.net › Forums › Video Games › PC Gaming › MINECRAFT SMP - Could not reserve enough space...
New Posts  All Forums:Forum Nav:

MINECRAFT SMP - Could not reserve enough space... - Page 2

post #11 of 13
Quote:
Originally Posted by Zero4549;13830405 
If you are running nothing other than MC, I'd suggest using a lightweight Linux distro, you would get better performance and stability (you might even be able to do a bit of very light folding and STILL get better performance).

That said, If you are going to be running this on windows 7 64 bit, AND you have ensured you have downloaded Java 6 64bit, you want to create a .bat file to launch the server with and put this line in it in order to use the amount of memory you requested:

@echo off
"%ProgramFiles%\Java\jre6\bin\java.exe" -Xms4096M -Xmx5120M -jar minecraft_server.jar gui
pause

Make sure you are using the .jar version of the minecraft server if you want this to work. To the best of my knowledge, the .exe version automatically allocates memory and cannot be changed.

Also if you wish to run with no GUI (just the command line) you will need to also input the nogui line which would look like this:

@echo off
"%ProgramFiles%\Java\jre6\bin\java.exe" -Xms4096M -Xmx5120M -jar minecraft_server.jar nogui
pause

If everything is in order, either of these lines will launch your server with 4GB of memory allocated at all times, with the option of expanding upward to 5GB. Just FYI you would need maybe 40 people in the server (and enough bandwidth to supply them... 15up or so) for you to ever need to expand upward past 4. A more conservative value might be -Xms2048M -Xmx4096M which will launch with 2GB and allow it to grow up to 4GB.

Remember, Java does not perform full GC until the entire allocation is full. This means your server could be sitting on 5GB of RAM but only be actively using 2GB for hours or even days at a time. Starving your system of memory can slow the whole thing down so it is a better idea to allow your system to have some breathing room than to allocate way more than you need for minecraft at the cost of leaving very little for the OS. (If you are running 8+ GB and absolutely nothing else is running on the computer, 5GB is not really a problem)

Great post man + rep, you beat me to it an explained it a heel of a lot better than my tired ass would have.

I host on win7 and it works just fine! More ram is never a bad thing with minecraft and bukkit. the more plugins you run the more ram you will use. plus minecraft and bukkit plugins tend ot get memory leaks so more ram will compensate for this between restarts
post #12 of 13
Quote:
Originally Posted by Zero4549 View Post
It ought to works quite well for a small server. You should run at 2-4gb memory allocation at max btw for such a small server. No need to let MC eat up all the ram and slow the whole system in the process. Id say 1.5-3g (min-max) ought to be just a bit more than your server will be able to make use of in most conditions. This can give you some extra room for running some other things on the machine if wanted. Of course, if you don't want to do anything else on the machine, use 4gb by all means.

Oh, are you using any mods on the server? Flying and teleporting can be more demanding than just walking, for example.

At any rate, you should be set with that rig. Good luck buddy!
I knew I was going to forget to mention something. Yes we run Bukkit with a few mods.

WorldEdit (not used a whole lot but very hand to have when clearing space. We prefer to hand build)
RocketBoots
RemoteDet
ChopTree
HookShot
OpenInv
PressurePorts
PrivateWarp
VoxelDoop



 
HTPC/Media Server
(12 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i7-4770K @ 4.3GHz ASUS Maximus VI GENE Galaxy Geforce GTX 780 Hall of Fame 1188/1652(6... G.Skill Ripjaws X series 16gb ddr3 2400 
Hard DriveHard DriveHard DriveOptical Drive
Corsair Neutron 256gb SSD Seagate Barracude 3tb Seagate Barracuda 3tb LG 12x Blu-Ray Drive 
CoolingOSMonitorMonitor
Corsair H100i Windows 8 Pro 64-bit Crossover Black Tune 2735 AMG 27 inch 2560x1440... LG 22EA53 21.5in 1080p IPS panel 
MonitorKeyboardPowerCase
Samsung Syncmaster 216BW 21.6inch 1680x1050 LCD... Ducky DK 1008-C OCN Edition w/MX Blue Switches Cooler Master Silent Pro 1000w Corsair Vengeance C70 Arctic White 
MouseMouse PadAudioAudio
Logitech G600 Razer Vespula Logitech X-140 2.0 Speakers Logitech G930 Wireless 7.1 Surround Headset 
CPUGraphicsRAMHard Drive
Core 2 Duo P8700 2.53Ghz Geforce GTX 260M 1GB 6GB DDR2 500gb and 160gb 
OSMonitor
Windows 8 Pro 64bit 17.3" 16:9 1600x900 
  hide details  
Reply
 
HTPC/Media Server
(12 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i7-4770K @ 4.3GHz ASUS Maximus VI GENE Galaxy Geforce GTX 780 Hall of Fame 1188/1652(6... G.Skill Ripjaws X series 16gb ddr3 2400 
Hard DriveHard DriveHard DriveOptical Drive
Corsair Neutron 256gb SSD Seagate Barracude 3tb Seagate Barracuda 3tb LG 12x Blu-Ray Drive 
CoolingOSMonitorMonitor
Corsair H100i Windows 8 Pro 64-bit Crossover Black Tune 2735 AMG 27 inch 2560x1440... LG 22EA53 21.5in 1080p IPS panel 
MonitorKeyboardPowerCase
Samsung Syncmaster 216BW 21.6inch 1680x1050 LCD... Ducky DK 1008-C OCN Edition w/MX Blue Switches Cooler Master Silent Pro 1000w Corsair Vengeance C70 Arctic White 
MouseMouse PadAudioAudio
Logitech G600 Razer Vespula Logitech X-140 2.0 Speakers Logitech G930 Wireless 7.1 Surround Headset 
CPUGraphicsRAMHard Drive
Core 2 Duo P8700 2.53Ghz Geforce GTX 260M 1GB 6GB DDR2 500gb and 160gb 
OSMonitor
Windows 8 Pro 64bit 17.3" 16:9 1600x900 
  hide details  
Reply
post #13 of 13
Oh btw, Marafice, it's a Geforce 7600GT that I gave you. Not a 7900GT.

We look forward to our new server gear!
Core X2 SRT
(22 items)
 
 
Asus G73JH-RBBX05
(13 items)
 
CPUMotherboardGraphicsRAM
Intel i7 5820k Asus X99m-ws evga geforce Titan X SC w/ EK waterblock G.SKILL Ripjaws V Series 32GB (4 x 8GB) 288-Pin... 
Hard DriveHard DriveOptical DriveCooling
Samsung EVO 500gig m.2 ssd sandisk 960gig ssd LG Blu-ray burner Alphacool NexXxoS XT45 Full Copper X-Flow 360mm... 
CoolingCoolingCoolingCooling
Alphacool NexXxoS XT45 Full Copper 360mm Radiator EK-Supremacy EVO - Acetal EK-XRES 100 Revo D5 PWM (incl. pump) Noctua NF-F12 PWM Cooling Fan (9x) 
CoolingOSMonitorMonitor
Lots of fittings Windows 10 Pro Asus 1440p somethingorother Dell 22" something (2x) 
KeyboardPowerCaseMouse
Logitech wireless something non-mechanical EVGA 120-G2-1300-XR 80 PLUS GOLD 1300 W  Thermaltake Core X2 Logitech Hyperion 
AudioOther
Logitech G930 wireless surround sound headphones NZXT Hue+ led lighting system 
CPUGraphicsRAMHard Drive
i7-720QM 1.6Ghz ATI Mobility Radeon HD 5870 6GB DDR3 (2) 500GB 7200rpm HDD 1TB total 
Optical DriveOSMonitorKeyboard
DVD-R/RW Windows 7 Home Premium 64bit 17.3" LED-lit 16:9 1600x900 the keyboard, duh 
Mouse
Logitech trackball ftw! 
  hide details  
Reply
Core X2 SRT
(22 items)
 
 
Asus G73JH-RBBX05
(13 items)
 
CPUMotherboardGraphicsRAM
Intel i7 5820k Asus X99m-ws evga geforce Titan X SC w/ EK waterblock G.SKILL Ripjaws V Series 32GB (4 x 8GB) 288-Pin... 
Hard DriveHard DriveOptical DriveCooling
Samsung EVO 500gig m.2 ssd sandisk 960gig ssd LG Blu-ray burner Alphacool NexXxoS XT45 Full Copper X-Flow 360mm... 
CoolingCoolingCoolingCooling
Alphacool NexXxoS XT45 Full Copper 360mm Radiator EK-Supremacy EVO - Acetal EK-XRES 100 Revo D5 PWM (incl. pump) Noctua NF-F12 PWM Cooling Fan (9x) 
CoolingOSMonitorMonitor
Lots of fittings Windows 10 Pro Asus 1440p somethingorother Dell 22" something (2x) 
KeyboardPowerCaseMouse
Logitech wireless something non-mechanical EVGA 120-G2-1300-XR 80 PLUS GOLD 1300 W  Thermaltake Core X2 Logitech Hyperion 
AudioOther
Logitech G930 wireless surround sound headphones NZXT Hue+ led lighting system 
CPUGraphicsRAMHard Drive
i7-720QM 1.6Ghz ATI Mobility Radeon HD 5870 6GB DDR3 (2) 500GB 7200rpm HDD 1TB total 
Optical DriveOSMonitorKeyboard
DVD-R/RW Windows 7 Home Premium 64bit 17.3" LED-lit 16:9 1600x900 the keyboard, duh 
Mouse
Logitech trackball ftw! 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: PC Gaming
Overclock.net › Forums › Video Games › PC Gaming › MINECRAFT SMP - Could not reserve enough space...