fix(playwright): dispose of `APIResponse` body for `send_request` by kozlice · Pull Request #1771 · apify/crawlee-python
Dispose of Playwright's APIResponse body, otherwise it stays in memory until the context closes. If not done, this can lead to excessive memory usage during crawling when using `send_request` within a handler.
changed the title
fix(playwright): dispose of APIResponse body
fix(playwright): dispose of APIResponse body for send_request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters