You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "mrhhsg (via GitHub)" <gi...@apache.org> on 2025/11/03 14:46:05 UTC
[PR] [fix](spill) Memory leak in the arena used by the aggregation operator [doris]
mrhhsg opened a new pull request, #57657:
URL: https://github.com/apache/doris/pull/57657
### What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
When resetting the hash table in aggregation operator, the `_agg_arena_pool` also needs to be reset.
None
### Check List (For Author)
- Test <!-- At least one of them must be included. -->
- [ ] Regression test
- [ ] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason <!-- Add your reason? -->
- Behavior changed:
- [ ] No.
- [ ] Yes. <!-- Explain the behavior change -->
- Does this need documentation?
- [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg: https://github.com/apache/doris-website/pull/1214 -->
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR should merge into -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](spill) Memory leak in the arena used by the aggregation operator [doris]
Posted by "yiguolei (via GitHub)" <gi...@apache.org>.
yiguolei merged PR #57657:
URL: https://github.com/apache/doris/pull/57657
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](spill) Memory leak in the arena used by the aggregation operator [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #57657:
URL: https://github.com/apache/doris/pull/57657#issuecomment-3483589091
PR approved by anyone and no changes requested.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](spill) Memory leak in the arena used by the aggregation operator [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #57657:
URL: https://github.com/apache/doris/pull/57657#issuecomment-3481184181
<details>
<summary>ClickBench: <b>Total hot run time: 28.01 s</b></summary>
```
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 0b3c55b7051aaf6aeade3068081fc8d6b1a7fb27, data reload: false
query1 0.06 0.05 0.05
query2 0.09 0.05 0.05
query3 0.26 0.08 0.08
query4 1.60 0.12 0.12
query5 0.27 0.26 0.25
query6 1.19 0.65 0.65
query7 0.03 0.03 0.02
query8 0.05 0.04 0.05
query9 0.60 0.52 0.52
query10 0.59 0.57 0.56
query11 0.16 0.11 0.12
query12 0.15 0.12 0.12
query13 0.61 0.60 0.60
query14 1.01 1.02 1.02
query15 0.84 0.85 0.85
query16 0.40 0.39 0.40
query17 1.06 1.03 1.03
query18 0.22 0.20 0.20
query19 1.90 1.85 1.86
query20 0.01 0.02 0.04
query21 15.43 0.20 0.14
query22 5.05 0.07 0.04
query23 15.67 0.28 0.11
query24 2.21 0.59 1.18
query25 0.08 0.06 0.06
query26 0.14 0.14 0.15
query27 0.06 0.06 0.05
query28 5.22 1.14 0.94
query29 12.55 3.87 3.25
query30 0.28 0.14 0.12
query31 2.82 0.61 0.38
query32 3.23 0.56 0.47
query33 3.08 3.11 3.09
query34 15.77 5.18 4.64
query35 4.64 4.60 4.61
query36 0.67 0.50 0.50
query37 0.10 0.07 0.07
query38 0.07 0.04 0.04
query39 0.04 0.03 0.04
query40 0.18 0.15 0.13
query41 0.08 0.03 0.03
query42 0.04 0.04 0.03
query43 0.05 0.03 0.04
Total cold run time: 98.56 s
Total hot run time: 28.01 s
```
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](spill) Memory leak in the arena used by the aggregation operator [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #57657:
URL: https://github.com/apache/doris/pull/57657#issuecomment-3483588979
PR approved by at least one committer and no changes requested.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](spill) Memory leak in the arena used by the aggregation operator [doris]
Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #57657:
URL: https://github.com/apache/doris/pull/57657#issuecomment-3481578045
# BE Regression && UT Coverage Report
Increment line coverage `100.00% (2/2)` :tada:
[Increment coverage report](http://coverage.selectdb-in.cc/coverage/57657_0b3c55b7051aaf6aeade3068081fc8d6b1a7fb27_merge/increment_report/index.html)
[Complete coverage report](http://coverage.selectdb-in.cc/coverage/57657_0b3c55b7051aaf6aeade3068081fc8d6b1a7fb27_merge/report/index.html)
| Category | Coverage |
|-------------------|--------------------|
| Function Coverage | 71.56% (24093/33668) |
| Line Coverage | 57.98% (250818/432604) |
| Region Coverage | 52.99% (207999/392491) |
| Branch Coverage | 54.81% (89506/163295) |
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](spill) Memory leak in the arena used by the aggregation operator [doris]
Posted by "Thearas (via GitHub)" <gi...@apache.org>.
Thearas commented on PR #57657:
URL: https://github.com/apache/doris/pull/57657#issuecomment-3480928578
Thank you for your contribution to Apache Doris.
Don't know what should be done next? See [How to process your PR](https://cwiki.apache.org/confluence/display/DORIS/How+to+process+your+PR).
Please clearly describe your PR:
1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
3. What features were added. Why was this function added?
4. Which code was refactored and why was this part of the code refactored?
5. Which functions were optimized and what is the difference before and after the optimization?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](spill) Memory leak in the arena used by the aggregation operator [doris]
Posted by "mrhhsg (via GitHub)" <gi...@apache.org>.
mrhhsg commented on PR #57657:
URL: https://github.com/apache/doris/pull/57657#issuecomment-3480929319
run buildall
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](spill) Memory leak in the arena used by the aggregation operator [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #57657:
URL: https://github.com/apache/doris/pull/57657#issuecomment-3481234559
# BE UT Coverage Report
Increment line coverage `100.00% (2/2)` :tada:
[Increment coverage report](http://coverage.selectdb-in.cc/coverage/0b3c55b7051aaf6aeade3068081fc8d6b1a7fb27_0b3c55b7051aaf6aeade3068081fc8d6b1a7fb27/increment_report/index.html)
[Complete coverage report](http://coverage.selectdb-in.cc/coverage/0b3c55b7051aaf6aeade3068081fc8d6b1a7fb27_0b3c55b7051aaf6aeade3068081fc8d6b1a7fb27/report/index.html)
| Category | Coverage |
|-------------------|--------------------|
| Function Coverage | 52.72% (18056/34249) |
| Line Coverage | 38.01% (164147/431859) |
| Region Coverage | 32.33% (125093/386895) |
| Branch Coverage | 33.77% (54764/162186) |
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org