You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
Disk Space Warning
print icon

On Glitch, projects that are created for free are limited to 200MB of disk space.  Boosted apps can use up to 400MB of disk space. When a project gets close to hitting the limit, you will see a red Error warning in the App Stats within the project editor.  You may also see a Reconnecting error in the project editor, or not be able to get changes that you have made to your project to stick.


If you can access the Project Editor, you can free up disk space by:

  1. Removing any unused or unnecessary files from your project.
  2. Making sure that image, audio or video files are in the project's assets.
  3. Adding any database files to a file  which saves space and keeps the content within these files secure.
  4. Adding other files that are taking up too much space to a file named .gitignore. Project files that take up a lot of space are usually ones that your project rewrites often.
    💡 You can see a list of your project files and their file size by opening the project terminal and entering the command, ls -lah 
    💡 You will need to create the file .gitignore first and then add the names of the files that you want to be ignored on separate lines within .gitignore
    💡 You can do something similar for .data.  First, create the folder, then add the database files that you don't want to count towards your disk space.
  5. Once you have added larger files to .gitignore or .data run the following commands in the project terminal:
    git prune
    git gc


Here's more info about those commands and how they work:

  • git prune identifies orphaned git objects to be removed.
  • git gc is the parent command of git prune with the "gc" standing for "garbage collection". Running this command will delete orphaned git objects and other unused project elements that are taking up your valuable disk space!


If your project is still taking up too much disk space after following the steps above try looking for disk space being used by hidden project folders.  To do this:

  • Open the project terminal
  • In the project terminal, run the command, du -lh
  • Doing this will reveal disk space that is currently being used by the project's hidden folders.



If your project has been suspended or you can no longer use the project editor, please send us a support request so we can help you out. Be sure to include the project name.


You can read more about our technical restrictions by clicking here.

Got more questions? Check out our Community Forum!
Open 24/7, the forum is where Glitch makers help each other and show off all the rad apps that they have created. It's the friendliest community of coders on the Web!
10 out of 19 found this helpful

scroll to top icon