java.lang.OutOfMemoryError: Direct buffer memory

bukkit.org | 3 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    sshandle still have memory leak, tested with 4.0.24, 4.0.25 and 4.0.17.

    GitHub | 2 years ago | devsunny
    java.lang.OutOfMemoryError: Direct buffer memory

    7 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Direct buffer memory

      at java.nio.Bits.reserveMemory()
    2. Java RT
      ByteBuffer.allocateDirect
      1. java.nio.Bits.reserveMemory(Unknown Source)
      2. java.nio.DirectByteBuffer.<init>(Unknown Source)
      3. java.nio.ByteBuffer.allocateDirect(Unknown Source)
      3 frames
    3. Lighweight Java Game Library
      BufferUtils.createByteBuffer
      1. org.lwjgl.BufferUtils.createByteBuffer(BufferUtils.java:60)
      1 frame
    4. paulscode.sound.libraries
      LibraryLWJGLOpenAL.createChannel
      1. paulscode.sound.libraries.ChannelLWJGLOpenAL.<init>(SourceFile:245)
      2. paulscode.sound.libraries.LibraryLWJGLOpenAL.createChannel(SourceFile:299)
      2 frames
    5. paulscode.sound
      Library.init
      1. paulscode.sound.Library.init(SourceFile:253)
      1 frame
    6. paulscode.sound.libraries
      LibraryLWJGLOpenAL.init
      1. paulscode.sound.libraries.LibraryLWJGLOpenAL.init(SourceFile:217)
      1 frame
    7. paulscode.sound
      CommandThread.run
      1. paulscode.sound.SoundSystem.CommandNewLibrary(SourceFile:1489)
      2. paulscode.sound.SoundSystem.CommandQueue(SourceFile:2362)
      3. paulscode.sound.CommandThread.run(SourceFile:121)
      3 frames