Difficulty Reading in Large Excel file (50,000+ rows) #3291
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#3291
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
Hi there, I am having an issue reading xlsx files when they are large (~50,000 rows or more).
For context, I am using version
v0.19.3
and I am running sheetjs on an Angular WebWorker.In my code, I am running
https://docs.sheetjs.com/docs/api/parse-options/
specifically '.read(data)' and my webworker just hangs indefinitely never completing and also throwing errors.I've tried with many various parsing options such as setting the type to 'array' (reading the file using FileReader into a byteArray), using 'dense: true', etc. I should note that when my xlsx file has less data, the method works just fine.
Alternatively, my end goal is simply to get the first ~10 rows and get the total number of rows from the spreadsheet. Passing in options such as
sheetRows: 10
does not fix my issue, and method still hangs. As I understand, xlsx self reports the range of rows, is there a way I can retrieve that range without reading the whole file (and just reading the first 10 rows)?Can you share the file? If you can't share it here, join the SheetJS Chat