How do you debug php “Out of Memory” issues?

前端 未结 6 829
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-09 02:46

I\'ve had some issues lately with PHP memory limits lately:

Out of memory (allocated 22544384) (tried to allocate 232 bytes)

<
6条回答
  •  执念已碎
    2020-12-09 03:04

    Check the documentation of the function memory_get_usage() to view the memory usage in run time.

提交回复
热议问题