local.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Allowed memory size of 134217728

qauzy發表於2020-06-17

 

local.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/CacheBase.php:186解決記憶體限制:

        set_time_limit(0);//設定執行時間
        ini_set('memory_limit','2048M');//設定記憶體

 

相關文章