Skip to content

Commit 311b78e

Browse files
branch-3.1: [fix](nereids)relase physical plan in Profile.releaseMemory() #57257 (#57316)
Cherry-picked from #57257 Co-authored-by: minghong <[email protected]>
1 parent f8da5bd commit 311b78e

File tree

1 file changed

+3
-0
lines changed
  • fe/fe-core/src/main/java/org/apache/doris/common/profile

1 file changed

+3
-0
lines changed

fe/fe-core/src/main/java/org/apache/doris/common/profile/Profile.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,9 @@ public void setSummaryProfile(SummaryProfile summaryProfile) {
434434
public void releaseMemory() {
435435
this.executionProfiles.clear();
436436
this.changedSessionVarCache = "";
437+
this.physicalPlan = null;
438+
this.rowsProducedMap = null;
439+
this.physicalRelations = null;
437440
}
438441

439442
public boolean shouldStoreToStorage() {

0 commit comments

Comments
 (0)