From 5ab877958f3c224aeb83404593e5276df32e986c Mon Sep 17 00:00:00 2001 From: MarkBaker Date: Fri, 6 Jun 2014 23:56:57 +0100 Subject: [PATCH] Reduce memory usage after an xls load --- Classes/PHPExcel/Reader/Excel5.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Classes/PHPExcel/Reader/Excel5.php b/Classes/PHPExcel/Reader/Excel5.php index 3e9b091b..97c3df3c 100644 --- a/Classes/PHPExcel/Reader/Excel5.php +++ b/Classes/PHPExcel/Reader/Excel5.php @@ -1089,6 +1089,7 @@ class PHPExcel_Reader_Excel5 extends PHPExcel_Reader_Abstract implements PHPExce } } } + $this->_data = null; return $this->_phpExcel; }