MEM003warningPro
in-process-accumulator
In-process accumulator grows without bound.
Applies to: JavaScript, Python, TypeScript
Why this matters
In-process cron jobs and global caches accumulate data in memory over time. On a long-running server, this causes a slow memory leak that eventually OOMs. Use external schedulers (cron, Cloud Scheduler) and bounded caches (LRU, TTL).
Catch it before it ships
pip install stablestack # or: npx stablestackstablestack # scans your project, MEM003 includedstablestack explain MEM003MEM003 is part of the Pro rule set. See pricing — the free tier ships 24 checks with no signup.
False positive in your codebase? Suppress a single line with # noqa: MEM003