balena-minecraft-server icon indicating copy to clipboard operation
balena-minecraft-server copied to clipboard

[FEATURE] Raspberry Pi 4 8GB

Open filiptronicek opened this issue 6 years ago • 9 comments

Is your feature request related to a problem? Please describe. A new Raspberry Pi 4 with 8GB of RAM has dropped.

Describe the solution you'd like I think the README should reflect the new version (and perhaps also the code, I am not sure if anything is software-locked). Just to mention it, if it's even worth it to have 8GB of RAM for a Minecraft server (why and for whom?)

filiptronicek avatar Jun 04 '20 07:06 filiptronicek

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.93. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Jun 04 '20 07:06 issue-label-bot[bot]

Is your feature request related to a problem? Please describe. A new Raspberry Pi 4 with 8GB of RAM has dropped.

Describe the solution you'd like I think the README should reflect the new version (and perhaps also the code, I am not sure if anything is software-locked). Just to mention it, if it's even worth it to have 8GB of RAM for a Minecraft server (why and for whom?)

I agree, I just got the 8GB version for myself. Might be overkill, but maybe there is a way an option could be added for allocating 4GB of ram to the server? My Minecraft server is running like a dream, thanks for all your work Alex!!

toneymar avatar Jun 06 '20 06:06 toneymar

You should be able to edit the start.sh script and make a pull request!

tomhepz avatar Jun 12 '20 13:06 tomhepz

Sadly I cannot test it myself :(

filiptronicek avatar Jun 12 '20 14:06 filiptronicek

Testing shouldn't be an issue, try make an environment variable reflecting the amount of RAM used and set that as the Xms and Xmx properties at the bottom of /minecraft-server/start.sh

tomhepz avatar Jun 12 '20 14:06 tomhepz

Sorry for my inactivity. I will work now on it.

AlexProgrammerDE avatar Jun 12 '20 14:06 AlexProgrammerDE

Ok now can the users directly set the RAM allowance. I will test it soon and merge. Btw: I will add a balena deploy button to the README which automaticly pushes the code to your fleet. It might take some days or weeks till the blog post gets updated. I have no direct access to that since i dont work at balena.

AlexProgrammerDE avatar Jun 12 '20 14:06 AlexProgrammerDE

Awesome, thanks for resolving the issue!

filiptronicek avatar Jun 12 '20 14:06 filiptronicek

The deploy feature didnt work i opened a issue in balena sound for this.

AlexProgrammerDE avatar Jun 12 '20 15:06 AlexProgrammerDE