The question is - how much memory available to the main process in Electron?
Background:
I am building an app, which deals with large amount of table-like data, memory usage could be about 500Mb, could be more in the future.
And there is a requirement to save it as xlsx. I can build xlsx on the server (this is not an issue), but I also want to build it on the client side - and this is kind of an issue.
In chrome there is around 2Gb memory available, and for current use case it is ok - I will have to use maybe around 400Mb for xml's, maybe about 100Mb for streaming xml and zipping, and around 100Mb for final xlsx blob. In total 1100Mb.
But it is possible, that there will be more data in the future. And I will get overflow at some point in Chrome.
So I figured out, maybe in Electron app I can get access to total PC memory? Maybe someone has an answer, or point to some docs - I have not found answers yet.
If no-one knows, I'll test myself obviously...