Please HELP | java.lang.OutOfMemoryError: PermGen space

Discussion in 'Bukkit Help' started by ReinTheWalrus, Jul 14, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    ReinTheWalrus

    I bought a 4GB Ram server from GGservers and I installed Crackpack 1.5.1.0
    When I start the server It will load up everything and then shut down before anyone can connect.
    I know near nothing about this stuff and I'm hopeless by myself.

    This are the last lines in my logs

    2014-07-14 22:19:33 [SEVERE] [ForgeModLoader] The following problems were captured during this phase
    2014-07-14 22:19:34 [INFO] [STDERR] java.lang.OutOfMemoryError: PermGen space
    2014-07-14 22:19:34 [SEVERE] [Minecraft-Server] Encountered an unexpected exception OutOfMemoryError
    java.lang.OutOfMemoryError: PermGen space
    2014-07-14 22:19:35 [INFO] [Minecraft-Server] Stopping server
    2014-07-14 22:19:35 [INFO] [Minecraft-Server] Saving worlds
    2014-07-14 22:19:35 [INFO] [STDERR] java.net.SocketException: Socket closed
    2014-07-14 22:19:35 [INFO] [STDERR] at java.net.PlainSocketImpl.socketAccept(Native Method)
    2014-07-14 22:19:35 [INFO] [STDERR] at java.net.AbstractPlainSocketImpl.accept(Unknown Source)
    2014-07-14 22:19:35 [INFO] [STDERR] at java.net.ServerSocket.implAccept(Unknown Source)
    2014-07-14 22:19:35 [INFO] [STDERR] at java.net.ServerSocket.accept(Unknown Source)
    2014-07-14 22:19:35 [INFO] [STDERR] at net.minecraft.server.ServerListenThread.run(ServerListenThread.java:80)
    2014-07-14 22:19:35 [INFO] [STDERR] Exception in thread "Server thread" java.lang.OutOfMemoryError: PermGen space
    2014-07-14 22:19:35 [INFO] [Minecraft-Server] Closing listening thread
    2014-07-14 22:19:58 [INFO] [STDERR] Exception in thread "Thread-7" java.lang.NoClassDefFoundError: net/minecraft/command/ServerCommand
    2014-07-14 22:19:58 [INFO] [STDERR] at net.minecraft.server.dedicated.DedicatedServer.func_71331_a(DedicatedServer.java:307)
    2014-07-14 22:19:58 [INFO] [STDERR] at net.minecraft.server.dedicated.DedicatedServerCommandThread.run(SourceFile:81)
    2014-07-14 22:19:58 [INFO] [STDERR] Caused by: java.lang.ClassNotFoundException: net.minecraft.command.ServerCommand
    2014-07-14 22:19:58 [INFO] [STDERR] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:186)
    2014-07-14 22:19:58 [INFO] [STDERR] at java.lang.ClassLoader.loadClass(Unknown Source)
    2014-07-14 22:19:58 [INFO] [STDERR] at java.lang.ClassLoader.loadClass(Unknown Source)
    2014-07-14 22:19:58 [INFO] [STDERR] ... 2 more
    2014-07-14 22:19:58 [INFO] [STDERR] Caused by: java.lang.OutOfMemoryError: PermGen space
     
  2. Offline

    kpbr

    The “java.lang.OutOfMemoryError: PermGen space” message indicates that the Permanent Size area in memory is exhausted. If we have exhausted the PermGen area in the memory you need to increase its size. This solution is indeed helpful if you just have not given your JVM enough elbow room. So you can try to alter your application launch configuration and add (or increase if present) the following:
    -XX:MaxPermSize=512m

    For more detailed information about your problem or possible solutions you can find from plumbr.eu (https://plumbr.eu/outofmemoryerror/permgen-space)
     
  3. Offline

    Iroh Retired Staff

    Locked.
    Seek help where you acquired your server mod.
     
Thread Status:
Not open for further replies.

Share This Page