electron-json-storage icon indicating copy to clipboard operation
electron-json-storage copied to clipboard

JavaScript heap out of memory

Open JimmyMow opened this issue 7 years ago • 3 comments

When importing the library in the renderer process I get

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

when building config for electron renderer process via webpack. Anyone else experience this issue?

JimmyMow avatar Feb 19 '18 01:02 JimmyMow

Interesting. How much RAM do you have in your system? Do you have the code somewhere I can try from my machine?

jviotti avatar Feb 19 '18 10:02 jviotti

Yes the code is here on branch feature/autopay: https://github.com/LN-Zap/zap-desktop/tree/feature/autopay

It requires a outside dependency that is specific to the application though so it might be hard to get it up and running. I will try and spin up a trivial application to reproduce

JimmyMow avatar Feb 20 '18 03:02 JimmyMow

i have the same issue. it's a 50mb user library/data file for cache purposes. tried your library as a last ditch effort since writing directly to userData only works when it's under about 5mb.

johnnyshankman avatar Nov 02 '23 19:11 johnnyshankman