Fatal error: Allowed memory size of x bytes exhausted (tried to allocate y bytes) in ... (locked)

Subscribe to Fatal error: Allowed memory size of x bytes exhausted (tried to allocate y bytes) in ... 1 post, 1 voice

 
Avatar Guillaume Bo... Administrator 203 post(s) If you find this error in our web server’s error_log:
Fatal error: Allowed memory size of x bytes exhausted (tried to allocate y bytes) in ...

Usually with x = 16777216 or x = 8388608

this means you need to allocate more memory to PHP because you have too much information for it to be able to correctly parse it.

Edit /usr/local/php5/lib/php.ini and change the line with memory_limit = xM
to
memory_limit = 64M

Restart Apache with: sudo apachectl restart

Finally, delete all the files from your dataservice.asmx/cache/ folder.

Try again and it should now work fine.

- Guillaume