Getting the following error, which I understand and have seen before. But one thing seems weird, it is trying to allocate an amount which is lower the the allowed memory size. Doesn’t this seem weird?
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7680 bytes) in XXX on line 93
Could this be some kind of misconfiguration with memory management, I am using a cloud server.
The number “tried to allocate 7680 bytes” does not mean the total amount of memory the script allocates, but the last portion on which it exceeded the limit.
So let’s say your script already allocated 33550000 b, tries to allocate another 7680 b. The total exceeds the memory limit and that’s why the error appears.