Server Out of memory Exception

  • Worldpart generating...
    08/16/2016 04:32 PM server.Main
    SEVERE: Fatal error occurred!
    java.lang.OutOfMemoryError: Java heap space
    at java.util.ArrayList.<init>(ArrayList.java:152)
    at r.u.a(SourceFile:799)
    at r.u.a(SourceFile:704)
    at r.l.a(SourceFile:279)
    at r.l.a(SourceFile:579)
    at r.l.a(SourceFile:198)
    at server.util.a.a(SourceFile:144)
    at server.c.a(SourceFile:1192)
    at server.c.a(SourceFile:1098)
    at server.c.a(SourceFile:940)
    at server.Main.c(SourceFile:437)
    at server.Main.initApplication(SourceFile:283)
    at commons.JIWApplication.initialize(SourceFile:92)
    at com.jme3.system.NullContext.initInThread(NullContext.java:86)
    at com.jme3.system.NullContext.run(NullContext.java:129)
    at java.lang.Thread.run(Thread.java:745)


    Fatal error occurred!
    java.lang.OutOfMemoryError: Java heap space
    at java.util.ArrayList.<init>(ArrayList.java:152)
    at r.u.a(SourceFile:799)
    at r.u.a(SourceFile:704)
    at r.l.a(SourceFile:279)
    at r.l.a(SourceFile:579)
    at r.l.a(SourceFile:198)
    at server.util.a.a(SourceFile:144)
    at server.c.a(SourceFile:1192)
    at server.c.a(SourceFile:1098)
    at server.c.a(SourceFile:940)
    at server.Main.c(SourceFile:437)
    at server.Main.initApplication(SourceFile:283)
    at commons.JIWApplication.initialize(SourceFile:92)
    at com.jme3.system.NullContext.initInThread(NullContext.java:86)
    at com.jme3.system.NullContext.run(NullContext.java:129)
    at java.lang.Thread.run(Thread.java:745)



    Uncaught exception thrown in Thread[jME3 Headless Main,5,main]
    Shutdown 1 database threads...
    08/16/2016 04:32 PM x.a
    INFO: DatabaseTaskManager stopped!









    hello guys wat is here the problem i try to update my server en than i got this :p

  • I've moved your post to a separate topic (since it's not related to the original topic) ;)


    Your server ran out of memory, when starting the server, you will see the amount of memory that's currently assigned to the server in the second line at the beginning of the log/output, it looks like this for example:


    Also make sure the 64 bit version of Java is installed. Maybe simply post the full serverlog here, just to make sure^^


    You can assign more memory to the server either by changing the "server_memory" value (MB) in the server.properties file (but this only works when starting the server by using one of the startscripts), or by providing the -Xmx memory argument to the java command when starting the server (java -Xmx4096m -jar server.jar to start the server with 4 GB).

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!