Running out of disk space


Hey! The activity log is telling me that my project is running out of space but I have not changed anything in it recently so I do not understand why all of a sudden it is telling me this! What makes me more confused is that even after deleting some files it keeps telling the same thing (used 126.1 out of 128 MB). How is this possible if I have deleted some files? Is there a way for me to figure out what is taking up that space?


Jump to the console in advance options and follow these recommendations:

  • Check disk space using $ df
  • Run git gc and git prune, this will help cleanup files and remove unreachable objects
  • If you’re not worried about git history, remove the .git folder using $ rm -rf .git
  • Remove unused dependencies from your package.json
  • Review your dependencies in the node_modules folder.

Recheck with $ df, the partition that is limited is the one under /app.

Hope this helps!


Is there a way to see how much space each file takes? Thanks!


You can run this command to list and sort all the files in your project by filesize

$ find . -type f  -exec du -h {} + | sort -r -h


Dude, thank you SO MUCH! Legend!


You can also run ncdu ., which takes a while to load, but gives you an overview of which directories are taking up the most space.


Is there a way to re-enable the default git checkpointing after deleting the .git folder?


Oh… it seems if I wait a bit .git magically returns, never mind!