java.lang.OutOfMemoryError: Unable to acquire 128 bytes of memory, got 0

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via spark-dev by Nezih Yigitbasi, 1 year ago
Unable to acquire 128 bytes of memory, got 0
via spark-dev by Nezih Yigitbasi, 1 year ago
Unable to acquire 128 bytes of memory, got 0
via nabble.com by Unknown author, 8 months ago
via spark-dev by Nezih Yigitbasi, 1 year ago
Unable to acquire 128 bytes of memory, got 0
via spark-dev by Nezih Yigitbasi, 1 year ago
Unable to acquire 128 bytes of memory, got 0
java.lang.OutOfMemoryError: Unable to acquire 128 bytes of memory, got 0
at org.apache.spark.memory.MemoryConsumer.allocatePage(MemoryConsumer.java:120)
at org.apache.spark.shuffle.sort.ShuffleExternalSorter.acquireNewPageIfNecessary(ShuffleExternalSorter.java:354)
at org.apache.spark.shuffle.sort.ShuffleExternalSorter.insertRecord(ShuffleExternalSorter.java:375)
at org.apache.spark.shuffle.sort.UnsafeShuffleWriter.insertRecordIntoSorter(UnsafeShuffleWriter.java:237)
at org.apache.spark.shuffle.sort.UnsafeShuffleWriter.write(UnsafeShuffleWriter.java:164)
at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:73)
at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:41)
at org.apache.spark.scheduler.Task.run(Task.scala:89)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

8 times, 6 months ago

Know the solutions? Share your knowledge to help other developers to debug faster.