(This is a very frequent error, but couldn’t find the meaning.)
Fatal error: Allowed memory size of x bytes exhausted (tried to allocate y bytes)
I have some questions:
- This is obviously an out-of-memory error, but what does it means in Layman’s terms?
- Is it possible to know some information (like server’s RAM) from
x? - What about
y? Sometimes it is a two-digits number.
Thanks.
memory_limitconfiguration option. Note this may or may not agree with what the operating system thinks the memory usage of the script is at the time of the error.xgives you the value of thememory_limitconfiguration option. You can also assume that the server has at least enough virtual memory to handle the limit, but that’s about it.yis just the size of the straw that finally broke the camel’s back.