FelixYBW commented on issue #11397:
URL: 
https://github.com/apache/incubator-gluten/issues/11397#issuecomment-3775081317

   When the OOM happens, memory utilization is only ~70%. Spark can pass at 
~40% memory utilization.
   
   So each parquet writer consumes more memory than data itself and Spark. 
   
   If we cache and sort the data before write, then write parquet file one by 
one, it should pass. But 
`df.repartition(tbl_filenum[tbl]['part']).sortWithinPartitions(tbl_filenum[tbl]['part']).write
 ` doesn't work.


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