How to fix memory getting exhausted with PHPExcel?

前端 未结 8 528
被撕碎了的回忆
被撕碎了的回忆 2020-11-28 04:43

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1078799 bytes) in D:\\xampplite\\htdocs\\Scraper\\PHPExcel\\Reader\\Exc

8条回答
  •  半阙折子戏
    2020-11-28 05:18

    PHPExcel is known for memory leaks. I advise you to use the following which need a FRACTION of the memory that PHPExcel uses.:

    1) For Reading: PHP-Excel-Reader

    2) For Writing: Pear Spreadsheet Excel Writer

提交回复
热议问题