yiguolei commented on code in PR #22655:
URL: https://github.com/apache/doris/pull/22655#discussion_r1330920111
##########
be/src/runtime/memory/mem_tracker_limiter.h:
##########
@@ -149,6 +149,8 @@ class MemTrackerLimiter final : public MemTracker {
// Returns a list of all the valid tracker snapshots.
static void make_process_snapshots(std::vector<MemTracker::Snapshot>*
snapshots);
static void make_type_snapshots(std::vector<MemTracker::Snapshot>*
snapshots, Type type);
+ static void
make_top_consumption_snapshots(std::vector<MemTracker::Snapshot>* snapshots,
+ int top_num = 15);
Review Comment:
not use default parameter value
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]