MC server 64bit?
MC server 64bit?
Hello
I'm dealing with a Minecraft server that's limited to 1500MB RAM, which isn't enough for eight players. I believe the problem lies in my MC server running on 32-bit Java. My question is: how can I switch it to 64-bit Java?
Thanks
btw: this is my startup command in Windows PowerShell (because cmd isn't working — "could not acces jar file")
java -Xms512M -Xmx1200M -jar server.jar
Here are some additional details:
- Is the server operating on your personal computer, or is it a dedicated server?
- What is the total amount of RAM available on the device?
- Has the 64-bit version of Java been added to the system?
Sorry, I made a mistake.
The server is installed on my Windows 10 PC with 16GB of RAM.
Java version: SE runtime environment version 8 update 211
Thank you for the updates!
I removed all Java from my PC and reinstalled Java 64bit, now the server shows "unlimited" RAM as if I didn’t need to allocate it, though the command still isn’t working. I’ll try to figure this out carefully and avoid any issues during the process.
Thanks!
java can only utilize a fraction of the available memory in your system (meaning less than the total RAM used by the system and software). This is why you shouldn’t set more than 1.5G for -Xmx, and the minimum RAM should be half of that, which usually results in around 512M for initialization space.