RSS leak over time troubleshooting

Sample RSS every 5s to confirm a real leak (monotonic growth) vs steady churn

while sleep 5; do ps -o rss= -p <pid> | awk '{print strftime("%T"),$1/1024"MB"}'; done
more troubleshooting all 32 commands →