Basically im trying to enable cell caching due to memory issues (keeps running out) its quite a large speadsheet. From what I have read online cell caching is a good way to go
From the examples I have found online it looks something like this
stackoverflow - fix memory error
$oExcel = new PHPExcel();
$cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_to_phpTemp;
$cacheSettings = array( 'memoryCacheSize' => '512MB');
PHPExcel_Settings::setCacheStorageMethod($cacheMethod,$cacheSettings);
The problem with the above is im not setting the excel object with the settings?
$oExcel->setCacheStorageMethod($cacheMethod,$cacheSettings); // this returns method not found error
I think im just initialising it wrong?