Jump to content

K so I'm trying to dedicate 8gb of ram to my minecraft server for some buddies, I made the batch file with a guide off youtube, (i did this before before I reinstalled windows awhile back)

 

Also I tried changing minecraft_server.jar to .exe still gives me the same msg

 

Anyways here's the batch file:

 

4SIhj.png

 

When I try to open it, this message appears:

 

4SIir.jpg

 

Before I re-installed I had ~20gb assigned to it, so I don't think the amount of ram is the issue.

 

 

Anyone know how to fix? I googled some stuff but didn't really find a whole lot of help >.<

Stuff:  i7 7700k @ (dat nibba succ) | ASRock Z170M OC Formula | G.Skill TridentZ 3600 c16 | EKWB 1080 @ 2100 mhz  |  Acer X34 Predator | R4 | EVGA 1000 P2 | 1080mm Radiator Custom Loop | HD800 + Audio-GD NFB-11 | 850 Evo 1TB | 840 Pro 256GB | 3TB WD Blue | 2TB Barracuda

Hwbot: http://hwbot.org/user/lays/ 

FireStrike 980 ti @ 1800 Mhz http://hwbot.org/submission/3183338 http://www.3dmark.com/3dm/11574089

Link to comment
https://linustechtips.com/topic/66625-java-issues/
Share on other sites

Link to post
Share on other sites

Try -Xms4G -Xmx8G

or -Xms2G -Xmx4G

use nogui instead of gui because it's useless

 

didnt work >.<

Stuff:  i7 7700k @ (dat nibba succ) | ASRock Z170M OC Formula | G.Skill TridentZ 3600 c16 | EKWB 1080 @ 2100 mhz  |  Acer X34 Predator | R4 | EVGA 1000 P2 | 1080mm Radiator Custom Loop | HD800 + Audio-GD NFB-11 | 850 Evo 1TB | 840 Pro 256GB | 3TB WD Blue | 2TB Barracuda

Hwbot: http://hwbot.org/user/lays/ 

FireStrike 980 ti @ 1800 Mhz http://hwbot.org/submission/3183338 http://www.3dmark.com/3dm/11574089

Link to comment
https://linustechtips.com/topic/66625-java-issues/#findComment-910850
Share on other sites

Link to post
Share on other sites

Are you using 64bit Java? You might have trouble assigning that much memory if you're using 32bit

i5 3570k @ 4.2GHz | ASUS STRIX 970 | MSI Z77A-G43 | 16GB Corsair Vengenace 1600Mhz | 128GB/256GB Samsung 840 Pro | 2x 240GB Intel 335 Series | 1TB WD Black | Corsair 650TX | CM Storm Scout 2 Advanced (Ghost White) | Win 10 Pro

Link to comment
https://linustechtips.com/topic/66625-java-issues/#findComment-910997
Share on other sites

Link to post
Share on other sites

SNIP

 

 

 

FIXED IT

Stuff:  i7 7700k @ (dat nibba succ) | ASRock Z170M OC Formula | G.Skill TridentZ 3600 c16 | EKWB 1080 @ 2100 mhz  |  Acer X34 Predator | R4 | EVGA 1000 P2 | 1080mm Radiator Custom Loop | HD800 + Audio-GD NFB-11 | 850 Evo 1TB | 840 Pro 256GB | 3TB WD Blue | 2TB Barracuda

Hwbot: http://hwbot.org/user/lays/ 

FireStrike 980 ti @ 1800 Mhz http://hwbot.org/submission/3183338 http://www.3dmark.com/3dm/11574089

Link to comment
https://linustechtips.com/topic/66625-java-issues/#findComment-911061
Share on other sites

Link to post
Share on other sites

Try to change it to "-Xms8192m" -- I believe the case matters here

 

Saw your edit.

i5 3570k @ 4.2GHz | ASUS STRIX 970 | MSI Z77A-G43 | 16GB Corsair Vengenace 1600Mhz | 128GB/256GB Samsung 840 Pro | 2x 240GB Intel 335 Series | 1TB WD Black | Corsair 650TX | CM Storm Scout 2 Advanced (Ghost White) | Win 10 Pro

Link to comment
https://linustechtips.com/topic/66625-java-issues/#findComment-911076
Share on other sites

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

×