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 head out of memory #3

Closed
Artim96 opened this issue Jun 6, 2024 · 4 comments
Closed

JavaScript head out of memory #3

Artim96 opened this issue Jun 6, 2024 · 4 comments

Comments

@Artim96
Copy link

Artim96 commented Jun 6, 2024

For some reason, building fails with an out of memory error. Is it knows how much this needs? I have 30 GB of storage free and 12 GB of memory available. In my opinion this should be enough. Or may it be because I need to compile with nodejs 20, as other software running on the server this will run on has other software not running that well with v18?

Screenshot from 2024-06-06 13-16-58

@dionysius
Copy link
Owner

I believe the same underlying issue as with your vaultwarden build dionysius/vaultwarden-deb#13. Your build system lacks enough memory. I am not really sure what the memory requirements really are for building.

@dionysius
Copy link
Owner

Building this locally on my laptop (with other tools open and full desktop environment) the full system memory usage peaked at 11.5GB.

@Artim96
Copy link
Author

Artim96 commented Jun 6, 2024

I'll check that out. I'll have to set up a different VM as compiling this consistently crashes VirtualBox lol. But as the vaultwarden deb did build, it shouldn't be an issue I guess.

@Artim96
Copy link
Author

Artim96 commented Jun 6, 2024

Only used little over 5 GB of memory. Going through QEMU/KVM and virt-manager is much more stable.

@Artim96 Artim96 closed this as completed Jun 6, 2024
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

2 participants