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.


  • Mod

    This means that the memory you’re limiting yourself is not enough, and you need to up the max to a higher amount.


  • Mod

    @MCXBPE I suggest you try entering this code instead:

    -XX:MaxMetaspaceSize=512m

    512M should be enough to not cause the error again.


Log in to reply
 

Looks like your connection to GGServers Forums was lost, please wait while we try to reconnect.