# upload-memory # date: 2026-11-12T15:04:54 commit: 276dbda $ C:\Users\79152\AppData\Local\Python\pythoncore-3.14-64\python.exe student-tests/upload_memory.py --base-url http://localhost:8080 --concurrency 10 --output evidence/upload-memory-10.json file: 10026876 bytes (9.56 MiB), sha256 4582d3a7982b… idle MiB: {'e6cf2ec7aa3b': {'usage': 73.8, 'anon': 68.5, 'peak': 141.4}, '215466c2b510': {'usage': 73.0, 'anon': 68.3, 'peak': 149.5}} { "file_bytes": 10026876, "concurrency": 10, "rounds": 3, "uploads": 30, "status_counts": { "202": 30 }, "sha256_ok": 30, "instances": [ "215466c2b510", "e6cf2ec7aa3b" ], "elapsed_s": 13.39, "throughput_MiB_s": 21.4, "latency_s": { "p50": 4.36, "max": 4.68 }, "memory_MiB": { "idle": { "e6cf2ec7aa3b": { "usage": 73.8, "anon": 68.5, "peak": 141.4 }, "215466c2b510": { "usage": 73.0, "anon": 68.3, "peak": 149.5 } }, "sampled_peak": { "e6cf2ec7aa3b": { "usage": 139.6, "anon": 90.5 }, "215466c2b510": { "usage": 141.4, "anon": 93.7 } }, "after": { "e6cf2ec7aa3b": { "usage": 84.1, "anon": 78.2, "peak": 146.6 }, "215466c2b510": { "usage": 87.3, "anon": 82.1, "peak": 151.6 } }, "max_growth_usage": 68.4, "max_growth_anon": 25.4, "cgroup_peak_after": { "e6cf2ec7aa3b": 146.6, "215466c2b510": 151.6 } }, "container_limit_MiB": 256 } ok - download c8359ca8 sha256 matches ok - download fcda2c0f sha256 matches ok - download 6c733ea4 sha256 matches ok - all 30 uploads -> 202 ok - sha256 of every upload matches ok - peak process memory (anon) growth per replica 25.4 MiB < 100 MiB (naive buffering: ≥ 5 × 9.6 MiB × 2) saved evidence/upload-memory-10.json 6 passed, 0 failed [exit 0] $ C:\Users\79152\AppData\Local\Python\pythoncore-3.14-64\python.exe student-tests/upload_memory.py --base-url http://localhost:8080 --concurrency 20 --output evidence/upload-memory-20.json file: 10026613 bytes (9.56 MiB), sha256 8bb6a49a0703… idle MiB: {'e6cf2ec7aa3b': {'usage': 83.9, 'anon': 78.1, 'peak': 147.7}, '215466c2b510': {'usage': 99.6, 'anon': 94.4, 'peak': 151.6}} { "file_bytes": 10026613, "concurrency": 20, "rounds": 3, "uploads": 60, "status_counts": { "202": 60 }, "sha256_ok": 60, "instances": [ "215466c2b510", "e6cf2ec7aa3b" ], "elapsed_s": 25.05, "throughput_MiB_s": 22.9, "latency_s": { "p50": 7.18, "max": 8.63 }, "memory_MiB": { "idle": { "e6cf2ec7aa3b": { "usage": 83.9, "anon": 78.1, "peak": 147.7 }, "215466c2b510": { "usage": 99.6, "anon": 94.4, "peak": 151.6 } }, "sampled_peak": { "e6cf2ec7aa3b": { "usage": 153.1, "anon": 107.1 }, "215466c2b510": { "usage": 146.2, "anon": 101.9 } }, "after": { "e6cf2ec7aa3b": { "usage": 93.7, "anon": 87.9, "peak": 203.8 }, "215466c2b510": { "usage": 95.5, "anon": 90.3, "peak": 212.6 } }, "max_growth_usage": 69.2, "max_growth_anon": 29.0, "cgroup_peak_after": { "e6cf2ec7aa3b": 203.8, "215466c2b510": 212.6 } }, "container_limit_MiB": 256 } ok - download 56cafe16 sha256 matches ok - download 6a3c88ac sha256 matches ok - download 795dd71a sha256 matches ok - all 60 uploads -> 202 ok - sha256 of every upload matches ok - peak process memory (anon) growth per replica 29.0 MiB < 100 MiB (naive buffering: ≥ 10 × 9.6 MiB × 2) saved evidence/upload-memory-20.json 6 passed, 0 failed [exit 0]