From d946f1d4aa805d02a0a6780886e77ca9b93b482e 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 b18d4044dd69..2f6f31327f2e 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) )) } }