Claude Code

v2.1.87

Resource monitoring — 12.6-minute session on AMD EPYC (8 cores)

Sunday, March 29, 2026

Duration
12m 37s
343 samples @ 2s intervals
Avg CPU
9.8%
Peak: 73.5%
Avg RSS Memory
349.8 MB
Peak: 424.1 MB
0 18 36 54 72 90 0m 0s 1m 13s 2m 25s 3m 59s 5m 13s 6m 26s 7m 39s 8m 55s 10m 11s 11m 24s 12m 37s CPU % Elapsed Time CPU Usage Over Time
0 100 200 300 400 500 0m 0s 1m 13s 2m 25s 3m 59s 5m 13s 6m 26s 7m 39s 8m 55s 10m 11s 11m 24s 12m 37s RSS (MB) Elapsed Time RSS Memory Over Time
0 33 66 99 132 165 0% 5% 10% 15% 20% 25% 30% 35% 40% 45% 50% 55% 60% 65% 70% 75% # Samples CPU % Range CPU Usage Distribution
Token usage and latency profiling coming soon for this harness

Understanding RSS

RSS Resident Set Size

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 Limitations What It Misses

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.

More Accurate Metrics Where Available

PSS (Proportional Set Size) credits shared pages proportionally. heapUsed from process.memoryUsage() isolates the JS heap, while external tracks native/Buffer allocations.

What To Watch Practical Guide

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 →

Session Info

MetricValue
Start Time11:40:49
End Time11:53:26
Duration757.3s (12.6 min)
Total Samples343
Sample Interval2s

CPU Statistics

MetricValue
Min3%
Max73.5%
Mean9.8%
Median9.8%
P9515.3%
P9936%

RSS Statistics

MetricValue
Min206.6 MB
Max424.1 MB
Mean349.8 MB
Median349.6 MB
P95417.3 MB
P99424.1 MB

Process Info

MetricValue
ProcessClaude Code
Versionv2.1.87
ModelSonnet 4.6
Modebypass permissions (--dangerously-skip-permissions)

Machine Specs

MetricValue
CPU ModelAMD EPYC
CPU Cores8 cores
Threads/Core1
Architecturex86_64
Total RAM32 GB
OSLinux 5.15.200 (Ubuntu)
Disk122 GB
VirtualizationKVM (AMD-V)

Raw Data Sample (first 20 rows)

TimeElapsedPID 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