I am getting a no space left on device error
Solution 1
Clearing the temporary folder worked for me...
sudo rm -rf /tmp/*
Solution 2
You can increase available space in tmp by doing remount instead of "rm -rf" :
mount -o remount,size=8G,noatime /tmp
Sharang Gupta
I'm currently pursuing my MSc in Computer Science from University of Southampton, and have over 3 years of professional work experience as a python developer and a full stack developer
Updated on June 13, 2022Comments
-
Sharang Gupta almost 2 years
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
-
nurettin about 6 yearsThat potentially erases lock files, PID files, socket files and so on.
-
insign over 5 yearsNot sure how erase temp can make damages but it workd for me.
-
insign over 5 yearsLooks a nice idea to avoid it happen again.
-
Akito over 3 yearsNo idea why, but this helped! Don't know why it needed
/tmp
....