AngersZhuuuu commented on code in PR #53578:
URL: https://github.com/apache/spark/pull/53578#discussion_r2644722207
##########
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:
How about current?
##########
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:
How about current? @dongjoon-hyun
--
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]