Closed lgodard closed 4 years ago
It ends with electron devtools error (disconnected) or a blank screen
My guess is that you're running up against the limits of Electron's IPC mechanism -- electron-promise-ipc
is a thin wrapper over that.
Is there a known limit size when sending data via electron-promise-ipc?
I've never experimented with the size limit, but it looks like you found it!
Any suggestion to pass such big arguments through IPC ?
Your best bet is to split your data into several chunks. Here's how I'd do it (there are multiple schemes you could use of course):
Hi
thanks a lot for your response and suggestion i think is a correct way to experiment
thanks again for your electron-promise-ipc
module
Laurent
Hi
First thanks for
electron-promise-ipc
I need to send a huge array to IPC main in order to dump it on disk (huge means 167 Mb stringyfied)
It ends with electron devtools error (disconnected) or a blank screen
Is there a known limit size when sending data via electron-promise-ipc ? Any suggestion to pass such big arguments through IPC ?
Thanks in advance