A long running service degrading over time rarely points to the leak in its stack trace. Heap growth across requests can originate in a cache, an event listener, a retained reference, or a closure hiding across multiple files and layers. Debug traces object lifecycle and retention patterns across the codebase through the knowledge graph, identifies exactly what holds in memory and why, and returns a targeted fix at the source. Issue:Documentation Index
Fetch the complete documentation index at: https://docs.potpie.ai/llms.txt
Use this file to discover all available pages before exploring further.
- The background worker and its request handling loop
- Objects allocated per request and whether they release properly
- Any caches, listeners, or references that accumulate across requests
- Exact file and line where objects persist beyond their lifecycle
- The reference chain preventing garbage collection
- Corrected object lifecycle management at the source
- Assessment of whether the same retention pattern exists elsewhere in the service

