Quantcast
Channel: PHPExcel Forum Rss Feed
Viewing all articles
Browse latest Browse all 2707

New Post: Memory problem to load

$
0
0

Some initial details of using XMLReader with file streaming based on its implementation for the listWorksheetNames() and listWorksheetInfo() methods.

 Version 1.7.8Current Development Code
 listWorksheetNames()listWorksheetInfo()listWorksheetNames()listWorksheetInfo()
FormatTime (s)Memory after call (MB)Peak memory usage (MB)Time (s)Memory after call (MB)Peak memory usage (MB)Time (s)Memory after call (MB)Peak memory usage (MB)Time (s)Memory after call (MB)Peak memory usage (MB)
Excel 2007 .xlsx0.01141.251.254.19982.508.750.01131.251.253.22381.251.25
Open/Libre Office .ods0.14040.505.750.52960.505.750.11940.500.500.25430.500.50
Gnumeric3.41761.0038.755.28411.0038.750.00770.750.753.16760.750.75

Testing was done against a relatively small spreadsheet, comprising 2 worksheets, each with 16370 rows by 9 columns.

While the main load() code won't be as performant as these methods, I hope that the peak memory savings avoiding loading the file itself into memory will be every bit as good.

I'm still hoping that I can get at least the Excel2007 Reader converted to working with this method in time for the 1.7.9 release.


Viewing all articles
Browse latest Browse all 2707

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>