-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minecraft Java running slowly on Raspberry OS 64bit on RPi 4B 2GB (fan cooled) #32
Comments
Actually, the install script is just all the commands from https://www.raspberrypi.org/forums/viewtopic.php?f=78&t=284448 smashed together. I think that you can change the xmx and xms stuff in the JVM Arguments textbox when you click "Edit Profile" in the launcher. |
thank you. I tried that but I had another error. Executable: /opt/jdk/jdk1.8.0_251/bin/java |
Umm. I think you forgot some JVM args. You seem to only have |
my bad, I misread the instruction to add and the beginning of the arguments and not replace |
I suggest you go ask at https://www.raspberrypi.org/forums/viewtopic.php?f=78&t=284448. |
I'll do it, thanks for the help :) |
Has it worked yet? If it has then please close this issue. |
nope, I posted on the link you sent earlier. |
np |
Hello,
Thanks a lot for pi-apps it's a real time saver for me. I am fairly new in the RPi communauty and having pi-apps helps a lot to setup a new pi.
You installer for Mincecraft Java works like a charm, I also installed optifine with it. After a few tweaking in the settings to have a decent framerate the game starts smoothly. However after a few seconds of smooth gameplay it stops for a few seconds and then it alternates between smooth and stop.
The issue seems to be the Java memory heap size. The 450Mb or so of allocated memory are quickly full. On my other RPi 4B 2GB (32bit os) Minecraft is launched using the "runMC_16_1OptifineG2pre.sh" script where I modified the -Xmx (1GB) and -Xms (256MB) values to match the RPi ram and the game runs pretty smoothly.
I don't know where to set the memory heap size with the pi-apps installed Minecraft.
Is-it something that could be set automatically during the installation? Even a user input would be nice.
Thanks again :)
The text was updated successfully, but these errors were encountered: