This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.1 by this push:
new 311b78eaf11 branch-3.1: [fix](nereids)relase physical plan in
Profile.releaseMemory() #57257 (#57316)
311b78eaf11 is described below
commit 311b78eaf11330eb14a79d2250d0a1caca905aaf
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Oct 28 15:19:10 2025 +0800
branch-3.1: [fix](nereids)relase physical plan in Profile.releaseMemory()
#57257 (#57316)
Cherry-picked from #57257
Co-authored-by: minghong <[email protected]>
---
fe/fe-core/src/main/java/org/apache/doris/common/profile/Profile.java | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/common/profile/Profile.java
b/fe/fe-core/src/main/java/org/apache/doris/common/profile/Profile.java
index e5238290d7a..3abe8e8133e 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/common/profile/Profile.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/common/profile/Profile.java
@@ -434,6 +434,9 @@ public class Profile {
public void releaseMemory() {
this.executionProfiles.clear();
this.changedSessionVarCache = "";
+ this.physicalPlan = null;
+ this.rowsProducedMap = null;
+ this.physicalRelations = null;
}
public boolean shouldStoreToStorage() {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]