You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is the bug applicable and reproducable to the latest version of the package and hasn't it been reported before?
Yes, it's still reproducable
What version of Laravel Excel are you using?
3.1.56
What version of Laravel are you using?
10.48.23
What version of PHP are you using?
8.3.13
Describe your issue
We are currently creating an importer which imports excel xlsx spreadsheets generated from Microsoft Excel. For some reason, these generated spreadsheets each have 16384 columns on each row, where all the columns after the valid few (in our case 18 columns) contain a null. As such each row when imported as a container has 16384 values, mostly nulls, meaning that reading a spreadsheet of 1000 values reads 1000x16384 cells. This runs out of memory before even calling the collection() method of the importer class.
I am aware of the WithChunkReading concern and am using it, but this slows down and complicates what should be a simple process.
How can the issue be reproduced?
Import a spreadsheet generated by microsoft access. If needed and you cannot easily duplicate, i can provide a sample.
What should be the expected behaviour?
Automatically identify these malformed sheets (i am unsure if this fix should be in this package, or upstream at phpoffice) and work around the null ends of the sheet where there is an excessive number of null columns, so that we don't need to use chunked reading with what should be trivially small spreadsheets.
The text was updated successfully, but these errors were encountered:
Is the bug applicable and reproducable to the latest version of the package and hasn't it been reported before?
What version of Laravel Excel are you using?
3.1.56
What version of Laravel are you using?
10.48.23
What version of PHP are you using?
8.3.13
Describe your issue
We are currently creating an importer which imports excel
xlsx
spreadsheets generated from Microsoft Excel. For some reason, these generated spreadsheets each have 16384 columns on each row, where all the columns after the valid few (in our case 18 columns) contain a null. As such each row when imported as a container has 16384 values, mostly nulls, meaning that reading a spreadsheet of 1000 values reads 1000x16384 cells. This runs out of memory before even calling the collection() method of the importer class.I am aware of the
WithChunkReading
concern and am using it, but this slows down and complicates what should be a simple process.How can the issue be reproduced?
Import a spreadsheet generated by microsoft access. If needed and you cannot easily duplicate, i can provide a sample.
What should be the expected behaviour?
Automatically identify these malformed sheets (i am unsure if this fix should be in this package, or upstream at phpoffice) and work around the null ends of the sheet where there is an excessive number of null columns, so that we don't need to use chunked reading with what should be trivially small spreadsheets.
The text was updated successfully, but these errors were encountered: