Open mgifford opened 4 years ago
No longer replicated on current PlaywrightCrawler / Playwright used in Purple A11y
Hi @mgifford,
I encountered the Out of Memory issue when making large scans > thousands of pages.
I have increased the limit of node
when running npm run cli
and npm run start
to allocate up to 6GB (it will only consume then error out if it reaches that much memory usage).
Refer to https://github.com/GovTechSG/purple-a11y/commit/d4c3b94e293b667aa62b2cf70148ace3c812eb00.
Hope this helps!
If I crawl this sitemap.xml file https://cnib.ca/en/sitemap.xml?region=on
The page fails. There are over 1800 pages in it, but had hoped it would be able to manage sites larger than this.
What's the best way to deal with this memory error