OK, so here's what I'm trying to do :
- I've got a large (~ 25MB) json file.
- I'm opening it (with
file_get_contents
) - And then try to
json_decode
it
However, after a while a message pops up, notifying me that the memory has been exhausted :
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 72 bytes) in...
Any ideas of a workaround?