Does SheetJS support the import of very large files? #2908
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#2908
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have tried to upload a file of 500,000 rows and 109 columns using the Live Grid Demo but it does not display the data. Is there a limit to the spreadsheet size SheetJS can load and render?
V8 (the JS engine powering chromium/nodejs) enforces a string length limit of ~512MB. In practice that translates to ~50M numeric cells.
In a test with 500K Rows x 100 Columns created by setting each cell in the first row (A1:CV1) to
0
and filling the values down to row 500000 using series fill (e.g. C100=99, D10000 = 9999, etc), the generated XLSX file is ~139MB and it contains a worksheet xml ~1.64B characters. That is well above what the browser currently can support.If this use case matters to you, please report an issue to the Chromium / V8 bug trackers.
Follow #61 for future updates on the limit.