More Info: How to Fix java.lang.OutOfMemoryError in Minecraft
Need Help? Click here for more information on How to Fix java.lang.OutOfMemoryError in Minecraft.
Need Help? Click here for more information on How to Fix java.lang.OutOfMemoryError in Minecraft.
I keep getting the above error when trying to start up a Minecraft server. It spams that for a while and then it just stops loading completely. This is my first time trying to run it. Java is fully updated.
I'm not running any mods or texture packs. I read about this error a little bit and saw people suggesting to allocate more RAM in the .bat file. I created one in the same folder as the server and used the following command line:
Unfortunately, it still doesn't work. Here are my current specs:
Operating System
Windows 10 Home 64-bit
CPU
Intel Pentium G3250 @ 3.20GHz
Haswell 22nm Technology
RAM
8.00GB Dual-Channel DDR3 @ 699MHz (10-10-10-25)
Motherboard
ASUSTeK COMPUTER INC. H81M-D (SOCKET 1150)
Graphics
S200HQL (1366x768@60Hz)
2047MB NVIDIA GeForce GT 730 (MSI)
Anyone have any ideas? I'm new at this, so I'm hoping I'm not missing something obvious...
1. suggestion: use -Xmn128M instead of -Xms1G. i'm not sure if this will do something, but i noticed that i never use the -Xms option.
2. suggestion: use -Xdiag to get more information.