java.lang.OutOfMemoryError: Unable to acquire 172 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 Stack Overflow by feroze
, 11 months ago
via spark-issues by Sital Kedia (JIRA), 1 year ago
via spark-issues by Sital Kedia (JIRA), 1 year ago
via spark-issues by Sital Kedia (JIRA), 1 year ago
via spark-issues by Sital Kedia (JIRA), 1 year ago
via spark-issues by Sital Kedia (JIRA), 1 year ago
java.lang.OutOfMemoryError: Unable to acquire 172 bytes of memory, got 0
at org.apache.spark.memory.MemoryConsumer.allocatePage(MemoryConsumer.java:120)
at org.apache.spark.util.collection.unsafe.sort.UnsafeExternalSorter.acquireNewPageIfNecessary(UnsafeExternalSorter.java:321)
at org.apache.spark.util.collection.unsafe.sort.UnsafeExternalSorter.insertRecord(UnsafeExternalSorter.java:336)
at org.apache.spark.sql.execution.UnsafeExternalRowSorter.insertRow(UnsafeExternalRowSorter.java:91)
at org.apache.spark.sql.execution.UnsafeExternalRowSorter.sort(UnsafeExternalRowSorter.java:168)
at org.apache.spark.sql.execution.Sort$$anonfun$1.apply(Sort.scala:90)

Users with the same issue

8 times, 9 months ago

Write tip

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