Fatal Error: Allowed Memory Size of 134217728 Bytes Exhausted (CodeIgniter + XML-RPC)

前端 未结 29 2322
天涯浪人
天涯浪人 2020-11-21 22:57

I have a bunch of client point of sale (POS) systems that periodically send new sales data to one centralized database, which stores the data into one big database for repor

29条回答
  •  南笙
    南笙 (楼主)
    2020-11-21 23:41

    The correct way is to edit your php.ini file. Edit memory_limit to your desire value.

    As from your question, 128M (which is the default limit) has been exceeded, so there is something seriously wrong with your code as it should not take that much.

    If you know why it takes that much and you want to allow it set memory_limit = 512M or higher and you should be good.

提交回复
热议问题