Skip to content

Consider reporting memory usage by mmap #4573

@mangalaman93

Description

@mangalaman93

Currently, we report memory usage (currently in use and memory that could be released to OS but still held back) in alpha logs. The sum of these two memories do not sum up to Resident Memory (RSS) reported by tools such as top or htop. The rest of the memory is generally mmaped mostly by badger in terms the .sst files or .vlog files. It would be useful to report that memory in the logs. The information is generally available in /proc/<pid>/smaps and /proc/<pid>/maps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementSomething could be better.status/acceptedWe accept to investigate/work on it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions