You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by ya...@apache.org on 2024/03/28 07:51:28 UTC
(incubator-gluten) branch main updated: [CORE] Refine OOM message (#5166)
This is an automated email from the ASF dual-hosted git repository.
yangzy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git
The following commit(s) were added to refs/heads/main by this push:
new 6bb2863c5 [CORE] Refine OOM message (#5166)
6bb2863c5 is described below
commit 6bb2863c544ff31b7545cd274b44b3443ce4f9a8
Author: Yang Zhang <ya...@alibaba-inc.com>
AuthorDate: Thu Mar 28 15:51:23 2024 +0800
[CORE] Refine OOM message (#5166)
---
.../io/glutenproject/memory/memtarget/ThrowOnOomMemoryTarget.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gluten-core/src/main/java/io/glutenproject/memory/memtarget/ThrowOnOomMemoryTarget.java b/gluten-core/src/main/java/io/glutenproject/memory/memtarget/ThrowOnOomMemoryTarget.java
index fff2f3da7..3cb211bda 100644
--- a/gluten-core/src/main/java/io/glutenproject/memory/memtarget/ThrowOnOomMemoryTarget.java
+++ b/gluten-core/src/main/java/io/glutenproject/memory/memtarget/ThrowOnOomMemoryTarget.java
@@ -51,10 +51,10 @@ public class ThrowOnOomMemoryTarget implements MemoryTarget {
errorBuilder
.append(
String.format(
- "Not enough spark off-heap execution memory. Acquired: %d, granted: %d. "
+ "Not enough spark off-heap execution memory. Acquired: %s, granted: %s. "
+ "Try tweaking config option spark.memory.offHeap.size to get larger space "
+ "to run this application. %n",
- size, granted))
+ Utils.bytesToString(size), Utils.bytesToString(granted)))
.append("Current config settings: ")
.append(System.lineSeparator())
.append(
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org