You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2023/01/19 14:26:31 UTC
[GitHub] [doris] github-actions[bot] commented on a diff in pull request #16084: [improvement](memory) Optimize the log of process memory insufficient and support regular GC cache
github-actions[bot] commented on code in PR #16084:
URL: https://github.com/apache/doris/pull/16084#discussion_r1081338676
##########
be/src/util/mem_info.cpp:
##########
@@ -47,6 +47,7 @@ int64_t MemInfo::_s_physical_mem = -1;
int64_t MemInfo::_s_mem_limit = -1;
std::string MemInfo::_s_mem_limit_str = "";
int64_t MemInfo::_s_soft_mem_limit = -1;
+std::string MemInfo::_s_soft_mem_limit_str = "";
Review Comment:
warning: redundant string initialization [readability-redundant-string-init]
```suggestion
std::string MemInfo::_s_soft_mem_limit_str;
```
--
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