I wrote a simple crawler using Simple HTML Dom Parser to scrape some stuff.

It's a simple script only running with 1 process and nothing massive. But after some time it produces a "Segmentation fault (core dumped)"-error, when I am running it in the shell.

When I run the script in the browser it says

"Error: The connection to the server was reset while the page was loading.".

I have made sure to unset() every variable as soon as possible and also increased the memory_limit in php.ini, but still I get this error :/

Does someone know what it means and how to solve it?

Thanks for any suggestions!

php
Edit
Report