Overclock.net › Forums › Video Games › PC Gaming › trying to add more ram to craftbukkit server MineCraft...
New Posts  All Forums:Forum Nav:

trying to add more ram to craftbukkit server MineCraft...

post #1 of 6
Thread Starter 
ok so this is my server.bat file
@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
PAUSE

if i change the -xmx to -xmx3072 -xms3072

i get this error upon startup

Error occured during initialization of vm
could not reserve enough space for object heap
could not create the java virtual machine
press any key to continue...

i have 4gb of ram installed on the machine i want to use 3gb and leave 1gb for windows the only thing im running on this machine is minecraft server teamviewer for access and a ram program even if i try 2gb of memory it does the same thing ahhhh...?
Hazard
(10 items)
 
G750JX
(10 items)
 
 
MotherboardGraphicsRAMHard Drive
G750JX GTX 770m samsung liteonnit 
Hard DriveOptical DriveCoolingOS
hgst slimtype Dual cooling for CPU and GPU windows 8.1 
MonitorMouse
full 1080p razer ouroboros 
  hide details  
Reply
Hazard
(10 items)
 
G750JX
(10 items)
 
 
MotherboardGraphicsRAMHard Drive
G750JX GTX 770m samsung liteonnit 
Hard DriveOptical DriveCoolingOS
hgst slimtype Dual cooling for CPU and GPU windows 8.1 
MonitorMouse
full 1080p razer ouroboros 
  hide details  
Reply
post #2 of 6
Quote:
"%ProgramFiles%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
PAUSE

if i change the -xmx to -xmx3072 -xms3072
did you forget the 'M' for millions of bytes?
More Fans
(9 items)
 
x100e (RIP)
(7 items)
 
 
CPUGraphicsRAMHard Drive
Athlon Neo MV-40 ATI Radeon HD3200 4GB Patriot DDR2 OCZ Vertex 3 Slim 120GB 
OSMonitorMouse
Crunchbang LG Green Screen Trackpoint 
  hide details  
Reply
More Fans
(9 items)
 
x100e (RIP)
(7 items)
 
 
CPUGraphicsRAMHard Drive
Athlon Neo MV-40 ATI Radeon HD3200 4GB Patriot DDR2 OCZ Vertex 3 Slim 120GB 
OSMonitorMouse
Crunchbang LG Green Screen Trackpoint 
  hide details  
Reply
post #3 of 6
Thread Starter 
no i did not... i just changed the numbers
Hazard
(10 items)
 
G750JX
(10 items)
 
 
MotherboardGraphicsRAMHard Drive
G750JX GTX 770m samsung liteonnit 
Hard DriveOptical DriveCoolingOS
hgst slimtype Dual cooling for CPU and GPU windows 8.1 
MonitorMouse
full 1080p razer ouroboros 
  hide details  
Reply
Hazard
(10 items)
 
G750JX
(10 items)
 
 
MotherboardGraphicsRAMHard Drive
G750JX GTX 770m samsung liteonnit 
Hard DriveOptical DriveCoolingOS
hgst slimtype Dual cooling for CPU and GPU windows 8.1 
MonitorMouse
full 1080p razer ouroboros 
  hide details  
Reply
post #4 of 6
try leaving your xms value as 1024 (initial allocation) and xmx to 3072.
also xms should probably be stated first. hope this helps.
More Fans
(9 items)
 
x100e (RIP)
(7 items)
 
 
CPUGraphicsRAMHard Drive
Athlon Neo MV-40 ATI Radeon HD3200 4GB Patriot DDR2 OCZ Vertex 3 Slim 120GB 
OSMonitorMouse
Crunchbang LG Green Screen Trackpoint 
  hide details  
Reply
More Fans
(9 items)
 
x100e (RIP)
(7 items)
 
 
CPUGraphicsRAMHard Drive
Athlon Neo MV-40 ATI Radeon HD3200 4GB Patriot DDR2 OCZ Vertex 3 Slim 120GB 
OSMonitorMouse
Crunchbang LG Green Screen Trackpoint 
  hide details  
Reply
post #5 of 6
Thread Starter 
no go if i change the -xms to 3072 it says incompatible minimum and maximum heap sizes allocation so i tried changing the -xmx does the same thing as before
Hazard
(10 items)
 
G750JX
(10 items)
 
 
MotherboardGraphicsRAMHard Drive
G750JX GTX 770m samsung liteonnit 
Hard DriveOptical DriveCoolingOS
hgst slimtype Dual cooling for CPU and GPU windows 8.1 
MonitorMouse
full 1080p razer ouroboros 
  hide details  
Reply
Hazard
(10 items)
 
G750JX
(10 items)
 
 
MotherboardGraphicsRAMHard Drive
G750JX GTX 770m samsung liteonnit 
Hard DriveOptical DriveCoolingOS
hgst slimtype Dual cooling for CPU and GPU windows 8.1 
MonitorMouse
full 1080p razer ouroboros 
  hide details  
Reply
post #6 of 6
Thread Starter 
i figured it out i am running 32bit windows and 32bit java wich only allows 1gb of ram
Hazard
(10 items)
 
G750JX
(10 items)
 
 
MotherboardGraphicsRAMHard Drive
G750JX GTX 770m samsung liteonnit 
Hard DriveOptical DriveCoolingOS
hgst slimtype Dual cooling for CPU and GPU windows 8.1 
MonitorMouse
full 1080p razer ouroboros 
  hide details  
Reply
Hazard
(10 items)
 
G750JX
(10 items)
 
 
MotherboardGraphicsRAMHard Drive
G750JX GTX 770m samsung liteonnit 
Hard DriveOptical DriveCoolingOS
hgst slimtype Dual cooling for CPU and GPU windows 8.1 
MonitorMouse
full 1080p razer ouroboros 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: PC Gaming
Overclock.net › Forums › Video Games › PC Gaming › trying to add more ram to craftbukkit server MineCraft...