Skip to content

Commit ba3c0f3

Browse files
branch-4.0: [fix](nereids)relase physical plan in Profile.releaseMemory() #57257 (#57317)
Cherry-picked from #57257 Co-authored-by: minghong <[email protected]>
1 parent c0b1168 commit ba3c0f3

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
@@ -559,6 +559,9 @@ public void setSummaryProfile(SummaryProfile summaryProfile) {
559559
public void releaseMemory() {
560560
this.executionProfiles.clear();
561561
this.changedSessionVarCache = "";
562+
this.physicalPlan = null;
563+
this.rowsProducedMap = null;
564+
this.physicalRelations = null;
562565
}
563566

564567
public boolean shouldStoreToStorage() {

0 commit comments

Comments
 (0)