LuciferYang commented on PR #43102:
URL: https://github.com/apache/spark/pull/43102#issuecomment-1761064829

   
https://github.com/apache/spark/blob/0257b77528a3a0d0ba08df5363470e4bc5928b06/build/mvn#L39
   
   By default, the peak memory usage for a full compile with Maven and Java 17 
is about 6.1GB. Maybe we can try reducing the -Xmx from 4G to 3G to lower peak 
memory usage (peak memory usage with -Xmx3G is slightly more than 5G),  but 
reducing `-Xmx` will also result in about a 10% loss in compile performance.
   
   


-- 
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