[ https://issues.apache.org/jira/browse/DRILL-8455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17763608#comment-17763608 ]
shihuafeng commented on DRILL-8455: ----------------------------------- i think debug memory,i get following info Allocator(frag:3:9) 227000000/25248320/311674944/271027504130 (res/actual/peak/limit) child allocators: 2 Allocator(op:3:9:3:MergeJoinPOP) 1000000/24248320/44794496/10000000000 (res/actual/peak/limit) child allocators: 0 ledgers: 25 ledger[75103293] allocator: op:3:9:3:MergeJoinPOP), isOwning: true, size: 65536, references: 1, life: 1094972545013135..0, allocatorManager: [52568443, life: 1094972539036859..0] holds 3 buffers. DrillBuf[76458154], udle: [52568444 0..65536] DrillBuf[76458399], udle: [52568444 0..65536] DrillBuf[76458110], udle: [52568444 0..65536] > mergejion memory leak when exception > ------------------------------------- > > Key: DRILL-8455 > URL: https://issues.apache.org/jira/browse/DRILL-8455 > Project: Apache Drill > Issue Type: Bug > Affects Versions: 1.20.0 > Reporter: shihuafeng > Priority: Major > Labels: leak, memory-bug > Original Estimate: 336h > Remaining Estimate: 336h > > when mergerjoin operator spilling data to disk ,it generate following > exception: > mergerjoin operator can not untimely invoke release() to free memory > > + > {code:java} > org.apache.drill.common.exceptions.UserException: RESOURCE ERROR: External > Sort encountered an error while spilling to disk{code} > + -- This message was sent by Atlassian Jira (v8.20.10#820010)