By krtinkumar
Steps Taken sudo apt-get install maven
Error Unpacking libgraphite2-3:amd64 (1.2.4-1ubuntu1) over (1.2.4-1ubuntu1) … dpkg: unrecoverable fatal error, aborting: fork failed: Cannot allocate memory E: Sub-process /usr/bin/dpkg returned an error code (2)
Attempted Fix sudo apt-get update (no change in error)
Other Info On starting SSH I get the following error Could not load list of meta packages: [Errno 12] Cannot allocate memory Could not load list of meta packages: [Errno 12] Cannot allocate memory
On top <enter> I get KiB Swap:0
FStab contains UUID=050e1e34-39e6-4072-a03e-ae0bf90ba13a / ext4 errors=remount-ro 0 1 (I have checked the UUID from blkid)
can someone help me out?
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!
This problem can be caused by multiple things;
free -m. If this is the issue you need to increase your droplet RAM.ps --sort -rss -eo rss,pid,command | head
Also check the following items:
Display swap usage summary
swapon -s
Display user-process resource limits
ulimit -a
With this information you can find out what is causing this. Give an output of everything you’ve done to provide you more support.
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.