I have a more-or-less clean 1GB Ubuntu 16.04.3 x64 droplet. I’ve installed Vesta on it, but nothing else. apt-get is failing as follows:
allen@m1:~$ sudo apt-get check
Reading package lists... Error!
E: Couldn't make mmap of 25165824 bytes - DynamicMMap (12: Cannot allocate memory)
E: The package lists or status file could not be parsed or opened.
Get the same results when I try to do anything (not just check). Any idea what’s wrong or how I could address the problem? thanks.
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!
As it says, “Cannot allocate memory”. Something is using all your memory. Use ps faux.
Use this thread for future readers https://askubuntu.com/questions/219523/dynamic-mmap-ran-out-of-room-when-trying-to-sudo-apt-get-anything
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.