genetic-orange•2y ago
Memory Leak Issue with High Volume Crawling Using Playwright
Hello Playwright Community,
I am currently experiencing a challenging issue with memory management in a high-volume web crawling application using Playwright. Our application is designed to scan and process thousands of web pages. However, I've noticed a significant increase in memory usage after processing approximately 2000 URLs.
Here's a brief overview of our Playwright setup:
Despite ensuring that pages are closed after each crawl, the memory usage spikes by around 400% (increasing to roughly 800MB) and then Playwright becomes unresponsive. This behavior is puzzling as we've taken care to manage resources efficiently.
I am looking for insights or suggestions on how to troubleshoot and resolve this memory leak issue. Specifically:
0 Replies