Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaScript heap out of memory #98

Open
JimmyMow opened this issue Feb 19, 2018 · 3 comments
Open

JavaScript heap out of memory #98

JimmyMow opened this issue Feb 19, 2018 · 3 comments

Comments

@JimmyMow
Copy link

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?

@jviotti
Copy link
Member

jviotti commented Feb 19, 2018

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

@JimmyMow
Copy link
Author

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

@johnnyshankman
Copy link

johnnyshankman commented Nov 2, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants