Solved Server Crashes with CB 1.7.2

Discussion in 'Bukkit Help' started by MetalGearDaner, Jan 2, 2014.

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

    MetalGearDaner

    I've report this error to bukkit.atlassian.net and they told me to report the error via Bukkit Help, so here I am. I use CB 1.7.2 Beta build. 32 Gb RAM and Intel Core i7 x 8. Here is the console error:

    Code:
    > 23:34:46 CONSOLE: WARN]: Exception in thread "Thread-24"
    > 23:34:46 CONSOLE: WARN]: java.lang.OutOfMemoryError: PermGen space
    > 23:34:46 CONSOLE: WARN]: at sun.misc.Unsafe.defineClass(Native Method)
    > 23:34:46 CONSOLE: WARN]: at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:63)
    > 23:34:46 CONSOLE: WARN]: at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:399)
    > 23:34:46 CONSOLE: WARN]: at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:396)
    > 23:34:46 CONSOLE: WARN]: at java.security.AccessController.doPrivileged(Native Method)
    > 23:34:46 CONSOLE: WARN]: at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:395)
    > 23:34:46 CONSOLE: WARN]: at sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(MethodAccessorGenerator.java:113)
    > 23:34:46 CONSOLE: WARN]: at sun.reflect.ReflectionFactory.newConstructorForSerialization(ReflectionFactory.java:331)
    > 23:34:46 CONSOLE: WARN]: at java.io.ObjectStreamClass.getSerializableConstructor(ObjectStreamClass.java:1376)
    > 23:34:46 CONSOLE: WARN]: at java.io.ObjectStreamClass.access$1500(ObjectStreamClass.java:72)
    > 23:34:46 CONSOLE: WARN]: at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:493)
    > 23:34:46 CONSOLE: WARN]: at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:468)
    > 23:34:46 CONSOLE: WARN]: at java.security.AccessController.doPrivileged(Native Method)
    > 23:34:46 CONSOLE: WARN]: at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:468)
    > 23:34:46 CONSOLE: WARN]: at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:365)
    > 23:34:46 CONSOLE: WARN]: at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1133)
    > 23:34:46 CONSOLE: WARN]: at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
    > 23:34:46 CONSOLE: WARN]: at java.util.ArrayList.writeObject(ArrayList.java:742)
    > 23:34:46 CONSOLE: WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    > 23:34:46 CONSOLE: WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    > 23:34:46 CONSOLE: WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    > 23:34:46 CONSOLE: WARN]: at java.lang.reflect.Method.invoke(Method.java:606)
    > 23:34:46 CONSOLE: WARN]: at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
    > 23:34:46 CONSOLE: WARN]: at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1495)
    > 23:34:46 CONSOLE: WARN]: at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431)
    > 23:34:46 CONSOLE: WARN]: at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)
    > 23:34:46 CONSOLE: WARN]: at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
    > 23:34:46 CONSOLE: WARN]: at java.util.ArrayList.writeObject(ArrayList.java:742)
    > 23:34:46 CONSOLE: WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    > 23:34:46 CONSOLE: WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    > 23:34:48 CONSOLE: WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    > 23:34:48 CONSOLE: WARN]: at java.lang.reflect.Method.invoke(Method.java:606)
     
  2. Online

    timtower Moderator Moderator

  3. Offline

    TomYaMee

    Code:
    -XX:MaxPermSize=128M
    Add this to your startup parameter.
     
  4. Offline

    MetalGearDaner

    20 Gb

    Ill try to add that, thanks ;)

    Problem seems to be solved, thanks a lot :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 6, 2016
Thread Status:
Not open for further replies.

Share This Page