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] <Fatal Errors on install> #510

Closed
4 tasks done
UtopiaOpera opened this issue Feb 26, 2022 · 4 comments
Closed
4 tasks done

[Javascript Heap out of Memory] <Fatal Errors on install> #510

UtopiaOpera opened this issue Feb 26, 2022 · 4 comments
Assignees
Labels
🐛 Bug [ISSUE] Ticket describing something that isn't working

Comments

@UtopiaOpera
Copy link

Environment

Self-Hosted (Docker)

Version

2.0.3

Describe the problem

Log output including below.
Installing on RiPi 3 (ARMv7) through Docker / Portainer.

██████╗ █████╗ ███████╗██╗ ██╗██╗ ██╗
██╔══██╗██╔══██╗██╔════╝██║ ██║╚██╗ ██╔╝
██║ ██║███████║███████╗███████║ ╚████╔╝
██║ ██║██╔══██║╚════██║██╔══██║ ╚██╔╝
██████╔╝██║ ██║███████║██║ ██║ ██║
╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝


Welcome to Dashy! 🚀
Your new dashboard is now up and running with Docker
After updating your config file, run 'docker exec -it [container-id] yarn build' to rebuild


Using Dashy V-2.0.3. Update Check Complete
✅ Dashy is Up-to-Date

  • Building for production...
    WARN A new version of sass-loader is available. Please upgrade for best experience.

<--- Last few GCs --->

[61:0x74533040] 229060 ms: Mark-sweep (reduce) 227.1 (236.9) -> 227.1 (237.4) MB, 5560.7 / 0.3 ms (average mu = 0.286, current mu = 0.011) allocation failure scavenge might not succeed

<--- JS stacktrace --->

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory

Additional info

No response

Please tick the boxes

@UtopiaOpera UtopiaOpera added the 🐛 Bug [ISSUE] Ticket describing something that isn't working label Feb 26, 2022
@liss-bot
Copy link
Collaborator

Welcome to Dashy 👋
It's great to have you here, but unfortunately your ticket has been closed to prevent spam. Before reopening this issue, please ensure the following criteria are met.

Issues are sometimes closed when users:

  • Have only recently joined GitHub
  • Have not yet stared this repository
  • Have not previously interacted with the repo

Before you reopen this issue, please also ensure that:

  • You have checked that a similar issue does not already exist
  • You have checked the documentation for an existing solution
  • You have completed the relevant sections in the Issue template

Once you have verified the above standards are met, you may reopen this issue. Sorry for any inconvenience caused, I'm just a bot, and sometimes make mistakes 🤖

@Lissy93
Copy link
Owner

Lissy93 commented Feb 26, 2022

Try assigning more mem, I think there was a similar issue opened a few months back, but I'm out at the moment so will look for it later

@northriverboats
Copy link

For docker-compose:

    environment:
      - NODE_ENV=production
      - NODE_OPTIONS=--max-old-space-size=2048

For docker add:

-e NODE_OPTIONS='--max-old-space-size=2048'

@UtopiaOpera
Copy link
Author

For docker-compose:

    environment:
      - NODE_ENV=production
      - NODE_OPTIONS=--max-old-space-size=2048

For docker add:

-e NODE_OPTIONS='--max-old-space-size=2048'

Sorry it took me so long to reply to this, but I have only just revisited it.

YES, these ENV options eventually worked for me, although I did also enable zRAM which I think made a the difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug [ISSUE] Ticket describing something that isn't working
Projects
None yet
Development

No branches or pull requests

4 participants