Skip to content

Commit

Permalink
Add log for MemoryController soft limit (#13060)
Browse files Browse the repository at this point in the history
  • Loading branch information
abyss7 authored Jan 14, 2025
1 parent f4f16ff commit de2a1e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ydb/core/memory_controller/memory_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ class TMemoryController : public TActorBootstrapped<TMemoryController> {
limit.hard = false;
limit.limit = GetSoftLimitBytes(Config, hardLimitBytes);
tcmalloc::MallocExtension::SetMemoryLimit(limit);

LOG_NOTICE_S(ctx, NKikimrServices::MEMORY_CONTROLLER, "Set tcmalloc soft limit " << limit.limit);
#endif

HandleWakeup(ctx);
Expand Down

0 comments on commit de2a1e3

Please sign in to comment.