docker-minecraft-server: The flag -XX:+UseG1GC can not be combined with -XX:ParallelGCThreads=0
The image has stopped working with next error:
Starting the Minecraft server...
Error occurred during initialization of VM
The flag -XX:+UseG1GC can not be combined with -XX:ParallelGCThreads=0
2020/03/27 22:59:05 Done
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 30 (12 by maintainers)
That’s very good to hear. Either should be totally fine. The only downside I know is that forge and/or some mods don’t work with versions other than Java 8.
Thanks for confirming. Yes, you may want to scale back that value if running multiple minecraft containers. I believe with Java 9 and newer it becomes more container-aware to do a little better at guessing CPU and memory constraints within the container. There’s image tags
adopt11
andadopt13
if you want to experiment with that.