revolist / revogrid

Powerful virtual data grid smartsheet with advanced customization. Best features from excel plus incredible performance 🔋
https://rv-grid.com
MIT License
2.74k stars 171 forks source link

Javascript maximum call stack size exceeded when exporting large files #357

Open DeepBhat opened 2 years ago

DeepBhat commented 2 years ago

When I try to export a table with 100,000 rows, I get the "JavaScript maximum call stack size exceeded " error. I wanted to know if there was a way we could fix this or if this is a problem with JavaScript itself.

Thanks.

awacode21 commented 1 year ago

@DeepBhat As i am currently evaluating revogrid for a customers project i would like to know if you are still experiencing this issue, of if it got fixed, or if you found a fix by yourself? Cause my customer will also deal with lots of data and that could be a dealbreaker.

DeepBhat commented 1 year ago

Unfortunately, we never managed to fix the problem so we abandoned Revogrid.

awacode21 commented 1 year ago

@DeepBhat thank you for your feedback! Did you found a more stable alternative you can recommend, or did you implemented your own data grid instead?

DeepBhat commented 1 year ago

Last I know, we moved on to AG Grid (which is a paid alternative). After that, I was moved to another project so I don't know how that fared.

awacode21 commented 1 year ago

@DeepBhat Are you still in that company and can ask your colleagues about their experience? Would be really appreciated. Thank you for the exchange and your help

DeepBhat commented 1 year ago

I can definitely ask them, but our work day has already ended so it'll have to be tomorrow before I can respond. I'll update you soon!

awacode21 commented 1 year ago

No problem at all, i am happy you ask them. Thanks a lot!

DeepBhat commented 1 year ago

Hey, I asked them about the export but the project leader said they migrated to a backend API call to generate a CSV file anyway to take the load off the frontend. So it seems like we didn't go ahead with exporting tables through AG Grid also.

awacode21 commented 1 year ago

@DeepBhat first, thank you so much for asking your colleagues and replying back to me. I really appreciate this. Well moving it to backend is also an indication right? I think this topic on frontend side is really difficult in any case. For my customer i will have to do it, cause the users should be able on admin dashboard to change those kind of data. But i researched further and revogrid seems to be too unreliable for our needs. So seems like i have to evaluate the paid competitors AG Grid, Bryntum Data Grid, Handsontable, Webix and ZingGrid to figure out which would be the best choice in case of price, performance, features, maintenance/bugfixes & co. Because at the moment i cannot find any open source solution which would fit. Our hopes were with revogrid, but yeah. Again thank you very much, you helped a lot.

revolist commented 2 months ago

The easiest solution for this would be to write your own parser for data which would support webworkers. And prevent original parsing on hook. We are going to make this part of Pro version 4+