-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
fatal error: runtime: cannot allocate heap metadata #1555
Comments
How much free RAM memory have you got? Are you running on a 512MB droplet? |
Are you out of memory? |
I can confirm he's running on a 512M droplet |
I can confirm you see this message when out of memory, I experienced the same thing. My solution on a 512MB droplet was to add a swapfile to the disk, and the problem went away. |
@dhassler Could you explain how to add a swapfile to disk? |
I would recommend doing a little bit of reading before making changes on your system, this article helped to refresh my memory. In short, you do something like:
..and add it to /etc/fstab:
and then turn it on:
|
I think this can be closed. |
A bit too late but i came across with this issue lately(not with docker) |
Had this issue too on EC2. Followed this tutorial to increase swap. http://stackoverflow.com/questions/17173972/how-do-you-add-swap-to-an-ec2-instance |
Simply rebooting the droplet worked for me. |
Here's a good overview on adding a swapfile to Ubuntu, keeping the swapfile persistent and adjusting performance of the swapfile: https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04 To verify whether a swapfile has been setup, type this command:
...if only these headers are return you should set up a swapfile to avoid running out of memory causing this issue:
|
I'm docker under Dokku. When trying to run
docker ps
or even justdocker
I'm getting an error:Rummomg under DigitalOcean VPS Ubuntu 13 x64
The text was updated successfully, but these errors were encountered: