-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[BUG] JavaScript heap out of memory #834
Labels
🐛 Bug
[ISSUE] Ticket describing something that isn't working
Comments
If you're enjoying Dashy, consider dropping us a ⭐ |
The troubleshooting guide (and the related, duplicate cases) indicates to add the It appears that was got it to work for me was adding |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Self-Hosted (Docker)
System
Docker version 20.10.17
Version
2.1.1
Describe the problem
Installation fails in all cases.
I have attempted:
docker run -p 8080:80 lissy93/dashy
docker run -p 8082:80 --name dashy --restart=always --memory=1024m -e NODE_OPTIONS='--max-old-space-size=2048' lissy93/dashy
I have attempted on a Linode VM host with 1 CPU, 1GB RAM with very limited activity, and also on an RPI4, freshly installed/nothing else running.
Additional info
Using TLDR
docker run
Using Dashy V-2.1.1. Update Check Complete
✅ Dashy is Up-to-Date
WARN A new version of sass-loader is available. Please upgrade for best experience.
<--- Last few GCs --->
[61:0xb4541040] 113142 ms: Scavenge 221.6 (233.2) -> 220.9 (235.5) MB, 6.0 / 0.0 ms (average mu = 0.484, current mu = 0.411) allocation failure
[61:0xb4541040] 114240 ms: Mark-sweep 223.0 (235.7) -> 221.4 (236.2) MB, 1068.7 / 0.1 ms (average mu = 0.349, current mu = 0.133) allocation failure scavenge might not succeed
[61:0xb4541040] 115684 ms: Mark-sweep 223.7 (236.5) -> 222.0 (237.0) MB, 1409.8 / 0.1 ms (average mu = 0.195, current mu = 0.023) allocation failure scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
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.
Using "hacked"
docker run
:Using Dashy V-2.1.1. Update Check Complete
✅ Dashy is Up-to-Date
WARN A new version of sass-loader is available. Please upgrade for best experience.
<--- Last few GCs --->
[61:0xb45a0040] 116234 ms: Mark-sweep 223.2 (235.6) -> 221.8 (236.1) MB, 1143.6 / 0.1 ms (average mu = 0.243, current mu = 0.021) allocation failure scavenge might not succeed
[61:0xb45a0040] 117683 ms: Mark-sweep 223.8 (236.1) -> 222.4 (236.8) MB, 1422.6 / 0.1 ms (average mu = 0.130, current mu = 0.019) allocation failure scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory`
Please tick the boxes
The text was updated successfully, but these errors were encountered: