apache / apache/brpc

有无方法能比较准确的统计brpc内存占用情况

Open
#2,290 1 comment 0 reactions 0 assignees View on GitHub
usage
Dominant language
C++
Stars
17.6k
Forks
4.1k
Avg merge
2d 12h
Merged PRs (30d)
69

Description

目前通过stack_count * stack_size的方式来计算虚拟内存占用,但是不能很好的方法来统计实际物理内存的占用?想问一下这方面是否有支持。

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Start by locating the existing stack_count * stack_size accounting and any memory-statistics entry points, then review how brpc exposes resource metrics. Done would require a clearly defined physical-memory measurement and corresponding support or documentation, with validation on the relevant platform.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.