003a2821fd77615d71774dc59b93c0ecf32b21c2
Previous approach loaded entire raw body (287MB) into RAM via readFile, then extracted PDF (another 287MB), then read output (287MB) = ~860MB peak. Docker container OOM killed silently -> 500. New approach: - parse-upload.ts: scan raw file on disk using 64KB buffer reads (findInFile), then stream-copy just the PDF portion. Peak memory: ~64KB. - extreme/route.ts: stream qpdf output directly from disk via Readable.toWeb. Never loads result into memory. Total peak memory: ~64KB + qpdf process memory. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
pre-launch hardening: Address Book type sort, Hot Desk proportions, TVA calculator, ROADMAP Phase 4B
Description
No description provided
Languages
TypeScript
98.7%
PLpgSQL
0.4%
Shell
0.3%
Dockerfile
0.2%
CSS
0.2%
Other
0.1%