Max Perm Gen 관련 경고!
시작 명령에 -XX:MaxPermSize=128M 추가 바랍니다.
- Changing PermGen Size
With the 1.7 update, Mojang added several libraries to the Minecraft server, resulting a quite a few more classes and a much higher PermGen usage as a result. In order to run your server optimally and to prevent crashes, we recommend you increase your PermGen allocation in the JVM to prevent these issues.
First, open your startup command or startup file in a text editor of your choice. It should look similar to:
<path to java executable // java> -Xms1G -Xmx2G -<extra flags> -jar spigot.jar nogui
In order to change your PermGen allocation,you need to add the flag -XX:MaxPermSize=128M into this command. It needs to be after you the java command but before your -jar flag. For example:
<path to java executable // java> -Xms1G -Xmx2G -XX:MaxPermSize=128M -<extra flags> -jar spigot.jar nogui
Once you restart your server and run the command to start it, you will now have allocated more PermGen space, and as a result, you will be able to run more plugins.
For alternate wrappers
- If you're using mark2, put java.cli.XX.MaxPermSize=256M in your mark2.properties.
- If you're using Multicraft, review their documentation for a configuration suitable for Spigot.
Support for MaxPermSize was removed in Java 8.0. // To be reviewed by a mod