astrofrog / astrofrog/psrecord

Actual RAM usage vs. Memory Mapped

Open
#61 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
680
Forks
79
PR merge metrics
No merged PRs in 30d

Description

Hello,
First of all, very handy tool. Thanks!
I'm using mmap to read some giant files and Psrecord shows the file size as a part of memory usage report. Is there a way to make it only the actual RAM usage? What I care about is the RAM usage so I can provision enough memory for the kubernetes resources that run the code.
Thanks

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating psrecord's memory-reporting implementation and reproduce the reported behavior with a process that reads a large file through mmap. Determine how mapped file size is currently measured versus resident RAM, then verify that the report reflects the requested memory metric and remains useful for Kubernetes resource sizing.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes, python
Domain
observability-sre
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.