From 62f181a3c3a13af84733b752063d52d8b448f234 Mon Sep 17 00:00:00 2001 From: Hongze Zhang Date: Mon, 9 Sep 2024 13:09:51 +0800 Subject: [PATCH] Revert "[GLUTEN-6930][VL] Print memory statistics during task ending when leak is found" (#7158) * Revert "[GLUTEN-6930][VL] Print memory statistics during task ending when leak is found" * fixupo --- .../src/main/scala/org/apache/gluten/runtime/Runtime.scala | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gluten-data/src/main/scala/org/apache/gluten/runtime/Runtime.scala b/gluten-data/src/main/scala/org/apache/gluten/runtime/Runtime.scala index b18d4044dd69c..2f6f31327f2eb 100644 --- a/gluten-data/src/main/scala/org/apache/gluten/runtime/Runtime.scala +++ b/gluten-data/src/main/scala/org/apache/gluten/runtime/Runtime.scala @@ -117,11 +117,10 @@ object Runtime { LOGGER.warn( String.format( "%s Reservation listener %s still reserved non-zero bytes, which may cause memory" + - " leak, size: %s, dump: %s ", + " leak, size: %s.", name, rl.toString, - SparkMemoryUtil.bytesToString(rl.getUsedBytes), - dump() + SparkMemoryUtil.bytesToString(rl.getUsedBytes) )) } }