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 2022/08/11 11:34:56 UTC

[GitHub] [doris] bin41215 commented on a diff in pull request #11658: [minor](be)turn virtual memory to physical memory

bin41215 commented on code in PR #11658:
URL: https://github.com/apache/doris/pull/11658#discussion_r943380941


##########
be/src/runtime/memory/mem_tracker_limiter.h:
##########
@@ -72,7 +72,7 @@ class MemTrackerLimiter final : public MemTracker {
         if (PerfCounters::get_vm_rss() + bytes >= MemInfo::mem_limit()) {
             return Status::MemoryLimitExceeded(
                     "{}: TryConsume failed, bytes={} process whole consumption={}  mem limit={}",
-                    _label, bytes, MemInfo::current_mem(), MemInfo::mem_limit());

Review Comment:
   Thank you for your prompt reply.
   What I understand is to print physical memory and virtual memory separately.



-- 
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