I’ve had this issue coming up in searches for my site, so I thought I would address it. In my older version of the NFB Video Plugin, the Simple HTML Dom is incapable of opening a ‘huge’ file when you are on a host online due to their default memory in PHP. Mainly this is an issue where Vimeo has too many comments on their page to be able to read for the missing information. In any case, this error shows up all over the web, so here is what you do to fix it!
ERROR MESSAGE : Fatal error: Allowed memory size of…
There are 2 easy solutions for it.
1) If you have access to the php.ini file, you can change it to:
memory_limit = 30M ;
2) If you don’t have access to the php.ini there is still hope! You can modify it in the PHP code itself, it returns to normal when the script stops running.
<? ini_set(‘memory_limit’, ’64M’); ?>
(I’ve found this works for me on Servage)
Hope this helps you guys!
Nice one, doubled the memory allocation and it helped. I plan on checking if I can do better memory handling but for the moment is good that I can continue developing and later take care of the optimizations. Thanks.