We are crawling data from third party web for my web purpose using curl method.
When we crawl almost 5000 data then it show below mentioned error in curl_exec($ch) function line.
Error : Allowed memory size of XXXXXXXXX bytes exhausted (tried to allocate XXXXXXXXX bytes) in php.
so please tell me how to reset curl function.





Best Regards,
Pradeep Jangid