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

malloc() failed when allocating D_matrix #11

Open
ravigupta-art opened this issue Jan 23, 2022 · 7 comments
Open

malloc() failed when allocating D_matrix #11

ravigupta-art opened this issue Jan 23, 2022 · 7 comments

Comments

@ravigupta-art
Copy link

I have been getting this error when using a docker image on raspberry pi

@marknefedov
Copy link

Same error on Fedora 35 x86_64

@marknefedov
Copy link

Solved by enabling overcommit.

@ravigupta-art
Copy link
Author

@markusgod How to enable overcommit?

@marknefedov
Copy link

r4victor/afaligner#2

@bridgewaterrobbie
Copy link

This also happened to me when using docker. Not sure if there is a good way to do overcommit there.

@marknefedov
Copy link

Docker shares kernel with the host, so you need to enable overcommit on the host.
https://forums.docker.com/t/how-to-set-the-vm-overcommit-memory-parameter-when-running-docker-desktop-on-win11/130691

@versae
Copy link
Contributor

versae commented Jan 14, 2023

I had the same issue in Linux and as suggested by @markusgod, running the next code before invoking syncabook made it work for me.

$ echo 1 | sudo tee /proc/sys/vm/overcommit_memory

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

4 participants