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

前端 未结 29 2480
天涯浪人
天涯浪人 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:23

    When I removed the following lines from my code, all worked OK!

    set_include_path(get_include_path() . get_include_path() . '/phpseclib');
    include_once('Net/SSH2.php');
    include_once('Net/SFTP.php');
    

    These lines were included in every file I was running. When running the files one by one, all worked OK, but when running all files together I got the memory leak issue. Somehow the "include_once" is not including things once, or I am doing something wrong...

提交回复
热议问题