Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

m getting following error while executing following url




Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 71 bytes) in in /home/vcodec9s/public_html/Scraping/test/simple_html_dom.php on line 827

share|improve this question

1 Answer 1

If the script is actually running out of memory, you may need to increase PHP's allotted amount. The setting for max memory is in the php.ini file -- look for memory_limit. You'll have to restart apache (or whatever web server you're using).


share|improve this answer
Yep. Give it more memory, and maybe try and figure out why your script is so memory-hungry. On the other hand, remember that it's PHP, and it's never gonna be that light on memory usage. –  Tom O'Connor Oct 12 '10 at 23:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.