Jump to content

So I tried to get help from the Minecraft forums, no one replied. So I'm hoping someone will notice it here. I should point out this is a vanilla server.

 

-

 

Hello,

 

So I've been trying to setup a simple creative server for just me and a few friends, and I'm having some difficulty.

Specs:

i7 4790k

GTX 970

RAM: 8gb

Server is on a 1TB HDD

Windows 8.1

 

With no one on, the average tick is ~2.5ms. When I get on, the average tick goes up to 20ms+ and I get repeated "could not keep up" errors if I fly around or teleport.

If I try to get it to use 2gb of ram, it gives me the error:

 

Error occurred during initialization of VM

Could not reserve enough space for 2097152KB object heap

 

Any suggestions are much appreciated!

 

The bat file:

 java -Xmx1024M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -Xms1G -Xmx1G -jar Minecraft_Server.1.8.3.jar -o true
PAUSE

 

If I left any necessary information out just tell me.

"Normandy" i7 4790K - GTX 970 - Phantom 410 (Gun metal) - Z97 Extreme4 (asrock) - 128GB Crucial SSD - 1TB WD HDD - H60 Refurb. - 7 case fans | G710+ Keyboard, G230 Headset, Acer GN246HL Monitor.

Quick thoughts on system: I7 is extremely quick and I'm glad I spent the extra for hyper-threading. I regret my decision to get the GTX 970, it has horrible coil whine. There isn't any excuse for this terrible whine I and others are having. I HIGHLY recommend a 144hz monitor. Future Improvements/upgrades: Rubber fan mounts, basic speakers, more ram (for a total of 16gb), replace GPU.

144hz is love. 144hz is life. I like to submit unfinished posts then do about 20 edits. I like the Night Theme too.
Link to comment
https://linustechtips.com/topic/340316-help-with-minecraft-server-and-i7/
Share on other sites

Link to post
Share on other sites

Make sure 64 bit java is installed, you have xmx at the start of the jar file and the end, you only need it in there once. 

 

Try setting your bat file to this:

java -Xmx2G -jar Minecraft_Server.1.8.3.jar -o truePAUSE

Specs: CPU - Intel i7 8700K @ 5GHz | GPU - Gigabyte GTX 970 G1 Gaming | Motherboard - ASUS Strix Z370-G WIFI AC | RAM - XPG Gammix DDR4-3000MHz 32GB (2x16GB) | Main Drive - Samsung 850 Evo 500GB M.2 | Other Drives - 7TB/3 Drives | CPU Cooler - Corsair H100i Pro | Case - Fractal Design Define C Mini TG | Power Supply - EVGA G3 850W

Link to post
Share on other sites

you listed -Xmx twice

also you dont need Xms

just remove the last two Xmx and Xms and just leave the first -Xmx

set that one to 2G not 1024M

 

double check you have the latest 64 bit java version installed

NEW PC build: Blank Heaven   minimalist white and black PC     Old S340 build log "White Heaven"        The "LIGHTCANON" flashlight build log        Project AntiRoll (prototype)        Custom speaker project

Spoiler

Ryzen 3950X | AMD Vega Frontier Edition | ASUS X570 Pro WS | Corsair Vengeance LPX 64GB | NZXT H500 | Seasonic Prime Fanless TX-700 | Custom loop | Coolermaster SK630 White | Logitech MX Master 2S | Samsung 980 Pro 1TB + 970 Pro 512GB | Samsung 58" 4k TV | Scarlett 2i4 | 2x AT2020

 

Link to post
Share on other sites

 

 

 

 

 

 

 

I did what you guys suggested, and the problem has improved and I'm running with 2gb now. Its still slower than I would expect it to be.

 

Average tick sits between 8-12ms, spiking to 20-30 if I teleport.

 

One 'Can't keep up' error says "Running 9979ms behind, skipping 199 tick(s)"

I got one when I first joined and two when I teleported.

"Normandy" i7 4790K - GTX 970 - Phantom 410 (Gun metal) - Z97 Extreme4 (asrock) - 128GB Crucial SSD - 1TB WD HDD - H60 Refurb. - 7 case fans | G710+ Keyboard, G230 Headset, Acer GN246HL Monitor.

Quick thoughts on system: I7 is extremely quick and I'm glad I spent the extra for hyper-threading. I regret my decision to get the GTX 970, it has horrible coil whine. There isn't any excuse for this terrible whine I and others are having. I HIGHLY recommend a 144hz monitor. Future Improvements/upgrades: Rubber fan mounts, basic speakers, more ram (for a total of 16gb), replace GPU.

144hz is love. 144hz is life. I like to submit unfinished posts then do about 20 edits. I like the Night Theme too.
Link to post
Share on other sites

I did what you guys suggested, and the problem has improved and I'm running with 2gb now. Its still slower than I would expect it to be.

 

Average tick sits between 8-12ms, spiking to 20-30 if I teleport.

 

One 'Can't keep up' error says "Running 9979ms behind, skipping 199 tick(s)"

I got one when I first joined and two when I teleported.

thats normal

generating new terrain causes lag which shows the "running behind" error

it wont break anything or crash the server though

NEW PC build: Blank Heaven   minimalist white and black PC     Old S340 build log "White Heaven"        The "LIGHTCANON" flashlight build log        Project AntiRoll (prototype)        Custom speaker project

Spoiler

Ryzen 3950X | AMD Vega Frontier Edition | ASUS X570 Pro WS | Corsair Vengeance LPX 64GB | NZXT H500 | Seasonic Prime Fanless TX-700 | Custom loop | Coolermaster SK630 White | Logitech MX Master 2S | Samsung 980 Pro 1TB + 970 Pro 512GB | Samsung 58" 4k TV | Scarlett 2i4 | 2x AT2020

 

Link to post
Share on other sites

thats normal

generating new terrain causes lag which shows the "running behind" error

it wont break anything or crash the server though

 

This ^

 

It helps to have the server running on a HDD that is not being used for your OS, or an SSD, that way chunk loading is much smoother.

Specs: CPU - Intel i7 8700K @ 5GHz | GPU - Gigabyte GTX 970 G1 Gaming | Motherboard - ASUS Strix Z370-G WIFI AC | RAM - XPG Gammix DDR4-3000MHz 32GB (2x16GB) | Main Drive - Samsung 850 Evo 500GB M.2 | Other Drives - 7TB/3 Drives | CPU Cooler - Corsair H100i Pro | Case - Fractal Design Define C Mini TG | Power Supply - EVGA G3 850W

Link to post
Share on other sites

This ^

 

It helps to have the server running on a HDD that is not being used for your OS, or an SSD, that way chunk loading is much smoother.

Its on a separate HDD. OS is on an SSD.

 

 

thats normal

generating new terrain causes lag which shows the "running behind" error

it wont break anything or crash the server though

 OK. I'll just run as-is for now.

 

Thanks everyone for the help!

"Normandy" i7 4790K - GTX 970 - Phantom 410 (Gun metal) - Z97 Extreme4 (asrock) - 128GB Crucial SSD - 1TB WD HDD - H60 Refurb. - 7 case fans | G710+ Keyboard, G230 Headset, Acer GN246HL Monitor.

Quick thoughts on system: I7 is extremely quick and I'm glad I spent the extra for hyper-threading. I regret my decision to get the GTX 970, it has horrible coil whine. There isn't any excuse for this terrible whine I and others are having. I HIGHLY recommend a 144hz monitor. Future Improvements/upgrades: Rubber fan mounts, basic speakers, more ram (for a total of 16gb), replace GPU.

144hz is love. 144hz is life. I like to submit unfinished posts then do about 20 edits. I like the Night Theme too.
Link to post
Share on other sites

Its on a separate HDD. OS is on an SSD.

 

What RPM is the HDD? and have you defragged it recently?

Specs: CPU - Intel i7 8700K @ 5GHz | GPU - Gigabyte GTX 970 G1 Gaming | Motherboard - ASUS Strix Z370-G WIFI AC | RAM - XPG Gammix DDR4-3000MHz 32GB (2x16GB) | Main Drive - Samsung 850 Evo 500GB M.2 | Other Drives - 7TB/3 Drives | CPU Cooler - Corsair H100i Pro | Case - Fractal Design Define C Mini TG | Power Supply - EVGA G3 850W

Link to post
Share on other sites

 

 

 

7200RPM

Its just the typical 1tb Caviar Blue sold by WD.

No I have not, I'll do that.

"Normandy" i7 4790K - GTX 970 - Phantom 410 (Gun metal) - Z97 Extreme4 (asrock) - 128GB Crucial SSD - 1TB WD HDD - H60 Refurb. - 7 case fans | G710+ Keyboard, G230 Headset, Acer GN246HL Monitor.

Quick thoughts on system: I7 is extremely quick and I'm glad I spent the extra for hyper-threading. I regret my decision to get the GTX 970, it has horrible coil whine. There isn't any excuse for this terrible whine I and others are having. I HIGHLY recommend a 144hz monitor. Future Improvements/upgrades: Rubber fan mounts, basic speakers, more ram (for a total of 16gb), replace GPU.

144hz is love. 144hz is life. I like to submit unfinished posts then do about 20 edits. I like the Night Theme too.
Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×