Report this

What is the reason for this report?

Unable to log into my droplet. Error: -bash: xmalloc cannot allocate 1 bytes (771457024 bytes allocated)

Posted on April 14, 2017

I have been using the droplet normally for approximately 7 days now. Had encountered no issues whatsoever. But the previous night, I was unable to log in. Every attempt was terminated with this message:

-bash: xmalloc: /usr/src/local/bash/bash-4.3-patched/parse.y:4880: cannot allocate 1 bytes (771457024 bytes allocated)

Now the the memory requirements of my application, to my knowledge, do not exceed 5GB at max. And as logging in is out of the question, I have no idea what the problem is. Or how to solve it. Any help would be appreciated.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Did you try the console in your panel? If that fails too, you have to restart the droplet.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.