What is Memory Leak in Scraper?
Memory leak in scraper occurs when an extraction process continuously allocates memory without releasing it back to the operating system, eventually exhausting available RAM. In headless browser pipelines, this typically stems from unclosed contexts, detached DOM nodes, or accumulating event listeners. Left unchecked, the operating system's OOM killer terminates the worker, causing silent data loss, dropped records, and cascading pipeline failures.