-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](memory) Fix Allocator release memory to correct MemTracker after TLS attach task ends #38959
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
clang-tidy review says "All clean, LGTM! 👍" |
c5fb74c to
67c7e0a
Compare
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
TPC-H: Total hot run time: 42265 ms |
TPC-DS: Total hot run time: 168755 ms |
ClickBench: Total hot run time: 31.33 s |
a9624e1 to
a68a94d
Compare
|
run buildall |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
|
run buildall |
1 similar comment
|
run buildall |
TPC-H: Total hot run time: 42037 ms |
|
run buildall |
1 similar comment
|
run buildall |
TPC-H: Total hot run time: 42107 ms |
TPC-DS: Total hot run time: 168545 ms |
be/src/vec/common/allocator.h
Outdated
| class Allocator { | ||
| public: | ||
| Allocator(); | ||
| Allocator(const Allocator& that) { tracker = that.tracker; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个改写如果没有作用的话,先删了。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed,目前应该没用,删了跑下流水线看看
|
run buildall |
TPC-H: Total hot run time: 42380 ms |
TPC-DS: Total hot run time: 170335 ms |
ClickBench: Total hot run time: 33.32 s |
|
run buildall |
TPC-H: Total hot run time: 39490 ms |
TPC-H: Total hot run time: 39563 ms |
cd3d6d9 to
1eae1e8
Compare
|
run buildall |
TPC-H: Total hot run time: 40235 ms |
TPC-H: Total hot run time: 39932 ms |
TPC-DS: Total hot run time: 202429 ms |
ClickBench: Total hot run time: 33.98 s |
|
run buildall |
TPC-H: Total hot run time: 40128 ms |
|
clang-tidy review says "All clean, LGTM! 👍" |
Allocator save TLS MemTracker during first alloc, which is used to release memory after TLS attach task ends.