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 error on Raspberry Pi 3B+ #349

Closed
mezakos opened this issue Dec 3, 2021 · 1 comment
Closed

JavaScript heap out of memory error on Raspberry Pi 3B+ #349

mezakos opened this issue Dec 3, 2021 · 1 comment

Comments

@mezakos
Copy link

mezakos commented Dec 3, 2021

I'm trying to run dashy on a Raspberry Pi 3B+ with docker. I'm using the lissy93/dashy:arm32v7 image. The container is not able to start up because during the yarn build process I get the following error:

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

<--- Last few GCs --->

[61:0x2d535f0]   169058 ms: Mark-sweep 228.3 (231.3) -> 228.1 (231.5) MB, 2481.7 / 0.2 ms  (average mu = 0.272, current mu = 0.227) allocation failure scavenge might not succeed
[61:0x2d535f0]   171221 ms: Mark-sweep 228.5 (231.5) -> 228.3 (231.5) MB, 1480.5 / 0.3 ms  (average mu = 0.289, current mu = 0.316) allocation failure scavenge might not succeed


<--- JS stacktrace --->

==== JS stack trace =========================================

    0: ExitFrame [pc: 0x11c3560]
    1: StubFrame [pc: 0x115c400]
Security context: 0x43240469 <JSObject>
    2: /* anonymous */(aka /* anonymous */) [0x33393c25] [/app/node_modules/webpack-sources/lib/applySourceMap.js:~58] [pc=0x2c0ba204](this=0x4b440279 <undefined>,0x373d4f9d <String[13]: parentNode===>,0x546e506d <Object map = 0x30a9c69d>)
    3: walk(aka SourceNode_walk) [0x2999cac1] [/app/node_modules/source-map/lib/source-node.js:~...

error Command failed with signal "SIGABRT".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: "build-watch" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.```
@mezakos mezakos closed this as completed Dec 3, 2021
@mezakos
Copy link
Author

mezakos commented Dec 3, 2021

Closing this to open a ticket that complies with the guideline

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

1 participant