Resource monitoring — 12.6-minute session on AMD EPYC (8 cores)
Sunday, March 29, 2026
The actual physical RAM currently held by the process. This is the most actionable metric — it reflects real system pressure and is what the Linux OOM killer and container runtimes use when deciding to terminate a process.
RSS overstates usage when shared libraries are counted in full for each process. On Bun, mimalloc can retain freed pages in internal arenas, keeping RSS elevated long after the GC has cleaned up the JS heap.
PSS (Proportional Set Size) credits shared pages
proportionally. heapUsed from
process.memoryUsage() isolates the JS heap, while
external tracks native/Buffer allocations.
RSS trend over time is more informative than any single reading. A saw-tooth pattern is healthy. A staircase with no drops indicates accumulation. Full analysis →
| Metric | Value |
|---|---|
| Start Time | 11:40:49 |
| End Time | 11:53:26 |
| Duration | 757.3s (12.6 min) |
| Total Samples | 343 |
| Sample Interval | 2s |
| Metric | Value |
|---|---|
| Min | 3% |
| Max | 73.5% |
| Mean | 9.8% |
| Median | 9.8% |
| P95 | 15.3% |
| P99 | 36% |
| Metric | Value |
|---|---|
| Min | 206.6 MB |
| Max | 424.1 MB |
| Mean | 349.8 MB |
| Median | 349.6 MB |
| P95 | 417.3 MB |
| P99 | 424.1 MB |
| Metric | Value |
|---|---|
| Process | Claude Code |
| Version | v2.1.87 |
| Model | Sonnet 4.6 |
| Mode | bypass permissions (--dangerously-skip-permissions) |
| Metric | Value |
|---|---|
| CPU Model | AMD EPYC |
| CPU Cores | 8 cores |
| Threads/Core | 1 |
| Architecture | x86_64 |
| Total RAM | 32 GB |
| OS | Linux 5.15.200 (Ubuntu) |
| Disk | 122 GB |
| Virtualization | KVM (AMD-V) |
| Time | Elapsed | PID | CPU % | RSS (MB) |
|---|---|---|---|---|
| 11:40:49 | 0m 0s | 43349 | 73.5 | 206.6 |
| 11:40:51 | 0m 2s | 43349 | 38 | 208 |
| 11:40:53 | 0m 4s | 43349 | 25.3 | 208 |
| 11:40:55 | 0m 6s | 43349 | 19 | 208 |
| 11:40:57 | 0m 9s | 43349 | 16.3 | 212.7 |
| 11:40:59 | 0m 11s | 43349 | 26.1 | 353.3 |
| 11:41:01 | 0m 13s | 43349 | 21.3 | 357.7 |
| 11:41:04 | 0m 15s | 43349 | 18.8 | 357.7 |
| 11:41:06 | 0m 17s | 43349 | 16.9 | 357.7 |
| 11:41:08 | 0m 19s | 43349 | 15.3 | 357.7 |
| 11:41:10 | 0m 21s | 43349 | 14 | 357.9 |
| 11:41:12 | 0m 24s | 43349 | 12.9 | 357.9 |
| 11:41:14 | 0m 26s | 43349 | 13.5 | 277.6 |
| 11:41:16 | 0m 28s | 43349 | 12.2 | 277.6 |
| 11:41:19 | 0m 30s | 43349 | 11.5 | 277.6 |
| 11:41:21 | 0m 32s | 43349 | 10.8 | 277.6 |
| 11:41:23 | 0m 34s | 43349 | 10.2 | 277.6 |
| 11:41:25 | 0m 36s | 43349 | 9.7 | 278.1 |
| 11:41:27 | 0m 39s | 43349 | 9.2 | 278.1 |
| 11:41:29 | 0m 41s | 43349 | 8.8 | 278.1 |