Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I am getting a no space left on device error

I tried installing a tablet as a virtual device and after installing it , It does not even show and my gradle stopped syncing citing no space on device...

Also I could not get the gradle vm settings to increase the memory using the option -Xmx512m

I could not delete the virtual device as it does not show any as intsalled , i cannot add as it shows no image available and the standalone sdk manager also does not open saying lack of memory...

I have a lot of disk and RAM free , and am at a loss...

I tried invalidating cache and restarting , that didnt help either... Any help will be appreciated...

OS : Solus Android Studio Version : 2.2

like image 467
Sharang Gupta Avatar asked Dec 21 '16 09:12

Sharang Gupta


People also ask

How do you solve the error for no space left on device?

No space left on device Print No space left on device error often means you are over quota in the directory you're trying to create or move files to. 1. If you are trying to move a file from another location, change the group ownership of the file before moving it or use the copy command instead.

Why does my Mac Say No space left on device?

Check for macOS updates and if there is an update, update your Mac. When macOS is up to date, Safari is also up to date. Go to System Preferences > Software Update. If you have a lot of Safari tabs and windows open, close them all and then open a new window and try again.

How do I fix Errno 28 no space left?

Your local folder does not have enough space available for the operation. In your environment, update the 'TEMP', 'TMPDIR' or 'TMP' environment variable to a location with additional free space. Validate the updated location: Windows - command-prompt 'set'


2 Answers

Clearing the temporary folder worked for me...

sudo rm -rf /tmp/*
like image 112
Sharang Gupta Avatar answered Sep 28 '22 10:09

Sharang Gupta


You can increase available space in tmp by doing remount instead of "rm -rf" :

mount -o remount,size=8G,noatime /tmp
like image 20
vrogach Avatar answered Sep 28 '22 09:09

vrogach