IOException

    Joined
    Jun 20, 2013
    Messages
    293
    Reaction score
    48
    • Purchased!
    java.io.IOException: Map failed
    at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:849)
    at kQ.a(SourceFile:502)
    at kb.handle(SourceFile:497)
    at jK.a(SourceFile:525)
    at org.schema.game.common.controller.SegmentBufferManager.a(SourceFile:564)
    at ka.writeAllBufferedSegmentsToDatabase(SourceFile:492)
    at mx.a(SourceFile:87)
    at mz.run(SourceFile:1379)
    at org.schema.schine.network.server.ServerEntityWriterThread.run(SourceFile:32)
    Caused by: java.lang.OutOfMemoryError: Map failed
    at sun.nio.ch.FileChannelImpl.map0(Native Method)
    at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:846)
    ... 8 more



    sun.* is no longer supported
     
    Joined
    Jun 20, 2013
    Messages
    53
    Reaction score
    0
    • Legacy Citizen 2
    • Legacy Citizen
    Based on the \"java.lang.OutOfMemoryError\", it looks like the JVM ran out of memory. Try allocating more RAM to the game. The IOException was caused by the OutOfMemoryError. I\'m just speculating a cause because I\'ve never run into this problem while I was programming. Also, is the sun.* part of the crash log?
     
    Joined
    Jun 20, 2013
    Messages
    293
    Reaction score
    48
    • Purchased!
    This error should not occor since none of the Sun.* packages are supported anymore and thus, should not be used.
     
    Joined
    Jun 20, 2013
    Messages
    53
    Reaction score
    0
    • Legacy Citizen 2
    • Legacy Citizen
    They sure seem to be supported. I just imported sun.* in a java program and it didn\'t break...
     
    Joined
    Jul 4, 2013
    Messages
    6
    Reaction score
    0
    Deprecated packages can still be imported and will still work for legacy compatibility. They still shouldn\'t be used