Reputation: 5840
This one is easy to ask - hopefully quite as easy to answer:
Can anyone explain how this is in any way possible?
Upvotes: 1
Views: 230
Reputation: 41040
The error notices says that PHP tried to use 183200 bytes additional memory to the already used memory (something between 1341994528 and 1342177727 bytes) and this breaks the maximum of the allowed 1342177728 bytes.
You have to (edit your php.ini and) extend the memory limit of PHP.
Upvotes: 2
Reputation: 20997
Take a look at memory limit in php.ini. Your php application is allocating memory (and freeing it if it's not needed anymore) and php engine limits maximal amount of memory that can be used at the time by one script.
Upvotes: 0
Reputation: 360562
Because at the point that the memory request was made, less than 183200 bytes were still unused in that maximum-sized block of 134217728.
It's like asking for a full glass of milk from a jug, but only a couple drops are left.
Upvotes: 0
Reputation: 27839
The message means php is trying to allocate an extra 183200 bytes on top of what it already had, so this last "drop" makes it go over the limit.
A solution could be to increase the memory limit, but it's better if you refactor your code so that it doesn't take so much memory (if possible).
Upvotes: 1