Skip to content

Commit

Permalink
print memory stats default to false (#5234)
Browse files Browse the repository at this point in the history
* print memory stats default to false

* update conf

Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
  • Loading branch information
codesigner and Sophie-Xie authored Jan 11, 2023
1 parent 9c1ff89 commit fbc0eed
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion conf/nebula-graphd.conf.default
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
--memory_tracker_untracked_reserved_memory_mb=50

# enable log memory tracker stats periodically
--memory_tracker_detail_log=true
--memory_tracker_detail_log=false
# log memory tacker stats interval in milliseconds
--memory_tracker_detail_log_interval_ms=60000

Expand Down
2 changes: 1 addition & 1 deletion conf/nebula-graphd.conf.production
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
--memory_tracker_untracked_reserved_memory_mb=50

# enable log memory tracker stats periodically
--memory_tracker_detail_log=true
--memory_tracker_detail_log=false
# log memory tacker stats interval in milliseconds
--memory_tracker_detail_log_interval_ms=60000

Expand Down
2 changes: 1 addition & 1 deletion conf/nebula-storaged.conf.default
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
--memory_tracker_untracked_reserved_memory_mb=50

# enable log memory tracker stats periodically
--memory_tracker_detail_log=true
--memory_tracker_detail_log=false
# log memory tacker stats interval in milliseconds
--memory_tracker_detail_log_interval_ms=60000

Expand Down
2 changes: 1 addition & 1 deletion conf/nebula-storaged.conf.production
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
--memory_tracker_untracked_reserved_memory_mb=50

# enable log memory tracker stats periodically
--memory_tracker_detail_log=true
--memory_tracker_detail_log=false
# log memory tacker stats interval in milliseconds
--memory_tracker_detail_log_interval_ms=60000

Expand Down
2 changes: 1 addition & 1 deletion src/common/memory/MemoryUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ DEFINE_string(cgroup_v2_memory_current_path,

DEFINE_bool(memory_purge_enabled, true, "memory purge enabled, default true");
DEFINE_int32(memory_purge_interval_seconds, 10, "memory purge interval in seconds, default 10");
DEFINE_bool(memory_tracker_detail_log, true, "print memory stats detail log");
DEFINE_bool(memory_tracker_detail_log, false, "print memory stats detail log");
DEFINE_int32(memory_tracker_detail_log_interval_ms,
60000,
"print memory stats detail log interval in ms");
Expand Down

0 comments on commit fbc0eed

Please sign in to comment.