When we use spark action rewriteDataFiles on v2 table, we will also merge equality_delete file with data file. The equality_delete file will merge with all data file that sequence num less than it, this will cause spark executor memory GC frequently, and cause 'connection reset by peer' , ' hearbeat timeout' error during rewriteDataFiles.
How could we limit the jvm using memory when rewriteDataFiles with equality_delete file compations?