I am getting the error “PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 4096 bytes)”.
Is allocation number the number of bytes that exceeded the max memory size? Or is it trying to allocate 4096 bytes and failing despite the limit being higher?
Thanks, but I know the memory limit (it is 64mb) and error reporting is already at the max. I need to know how to interpret the error before trying to fix it. Is it failing to allocate 4096 bytes because it exceeded the memory limit already (it is trying to use 64mb + 4096 bytes), or it failing to allocate 4096 bytes even though 4096 is lower than the memory limit of 64mb? The error message is ambiguous to me.
Try increasing the ini_set(…); size by a substantial amount and check to ensure the value has been set then use the following to see how much memory is being used: