Memory-Safe Python Script Patterns Battle-tested patterns for keeping Python scripts alive under systemd constraints. Extracted from (24-worker parallel repair) and (10-symbol daily seeder) after 5 OOM optimization cycles on a 62 GB GPU workstation. Core insight : Python's garbage collector frees objects, but the C allocator (glibc ptmalloc2) does NOT return freed pages to the OS. Without explicit , RSS only grows — even after and . mimalloc with helps but explicit purge is faster. Self-Evolving Skill : This skill improves through use. If instructions are wrong, parameters drifted, or a worka…