I am writing a scraper in PHP using cURL but am experiencing some memory issues.
These memory issues arise since i am using a single cURL session to log in to a website, and then to scrape many pages.
Is there a way to 'flush' the cURL session's memory without having to close the session, open another one and re-log in?
Perhaps I could terminate the cURL session but use the cookies I had saved previously?
Thanks :)