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

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.


Submit an 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.