dongjoon-hyun commented on code in PR #53578:
URL: https://github.com/apache/spark/pull/53578#discussion_r2644303972


##########
core/src/main/java/org/apache/spark/memory/TaskMemoryManager.java:
##########
@@ -390,7 +390,7 @@ public MemoryBlock allocatePage(long size, MemoryConsumer 
consumer) {
     try {
       page = memoryManager.tungstenMemoryAllocator().allocate(acquired);
     } catch (OutOfMemoryError e) {
-      logger.warn("Failed to allocate a page ({} bytes), try again.",
+      logger.warn("Failed to allocate a page ({} bytes), try again.", e,

Review Comment:
   Could you add the new error message to the PR description too, @AngersZhuuuu 
?
   
   You can compare it via `**BEFORE**` and `**AFTER**`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to