java.lang.OutOfMemoryError: Metaspace?
-
Hello, did an error like this happened to anyone before?
I’ve realised that ggservers are using a startup parameter called -XX:MaxMetaspaceSize=128M. this parameter makes my server crash as when its nearly running, this msg in the title appears and every plugin crashes.
-
This means that the memory you’re limiting yourself is not enough, and you need to up the max to a higher amount.
-
@MCXBPE I suggest you try entering this code instead:
-XX:MaxMetaspaceSize=512m
512M should be enough to not cause the error again.