Jump to content

Hello

 

I have a minecraft server but i can't allocate more than 1500MB Ram or so. Now that's not enough for 8 players.

I think the issue is that my MC server is running on 32bit Java. My question is: how do i get it to run on 64 bit java?

 

Thanks

 

btw: this is my startup command in windows powershell (because cmd doesn't work ("could not acces jar file"))

java -Xms512M -Xmx1200M -jar server.jar

Link to comment
https://linustechtips.com/topic/1063207-mc-server-64bit/
Share on other sites

Link to post
Share on other sites

Does Java show up as 32 bit or 64 bit in your Programs and Features area?

Like this:

 

Capture.PNG.703496eea699097106e1a32ea7cfcd88.PNG

2023 BOINC Pentathlon Event

F@H & BOINC Installation on Linux Guide

My CPU Army: 5800X, E5-2670V3, 1950X, 5960X J Batch, 10750H *lappy

My GPU Army:3080Ti, 960 FTW @ 1551MHz, RTX 2070 Max-Q *lappy

My Console Brigade: Gamecube, Wii, Wii U, Switch, PS2 Fatty, Xbox One S, Xbox One X

My Tablet Squad: iPad Air 5th Gen, Samsung Tab S, Nexus 7 (1st gen)

3D Printer Unit: Prusa MK3S, Prusa Mini, EPAX E10

VR Headset: Quest 2

 

Hardware lost to Kevdog's Law of Folding

OG Titan, 5960X, ThermalTake BlackWidow 850 Watt PSU

Link to comment
https://linustechtips.com/topic/1063207-mc-server-64bit/#findComment-12561501
Share on other sites

Link to post
Share on other sites

Thanks for the replies!

 

I uninstalled all java on my pc and reinstalled Java 64bit and now the server starts with ""unlimited"" RAM as in i don't need the command to dedicate the RAM but the command still doesn't work so i'll figure that out and hopefully not break anything in the proces

 

Thanks!!!

 

edit: I don't know how it works since i can't find the java files but it works :) .

Link to comment
https://linustechtips.com/topic/1063207-mc-server-64bit/#findComment-12563078
Share on other sites

Link to post
Share on other sites

  • 10 months later...

java cant only use 1/8 the amount or ram available in you system (means minus system+software ram usage)

 

this is why you cant allow more than 1.5G in -Xmx and minimum ram needs to be half of it witch gives you in fixed ammount possible 512M in-Xms

 

cant quote where i fouund those usefull info thought, hope it helps

Link to comment
https://linustechtips.com/topic/1063207-mc-server-64bit/#findComment-13451894
Share on other sites

Link to post
Share on other sites

Guest
This topic is now closed to further replies.

×