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

New Post: Cannot create 25 column by 50,000 row spreadsheet.

$
0
0
It's possible, and while caching still uses some memory to maintain an index of the caching file (only SQLite doesn't maintain any form of in-memory index). 1GB seems excessive though if you're using disk caching... good luck finding any library that will handle it if PHPExcel can't when caching is being used... with the exception of commercial libraries such as libXL, all other PHP libraries work purely in memory. My normal estimate is about 1k/cell (depending on content) when maintained fully in memory (1.6k/cell if using 64-bit PHP), with caching reducing that while adding a performance overhead. Styling information isn't cached, so that is still maintained fully in memory, so using a lot of individual styles is an overhead: setting styles for a range of cells rather than for each individual cell reduces this memory overhead.
If you're building an array from your database, it would be more efficient to write it directly to PHPExcel rather than build the array and then write that to PHPExcel.

Viewing all articles
Browse latest Browse all 2707

Trending Articles



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