# Error: Repository storage limit reached (Max: 1 GB)

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-repository-storage-limit-reached-max-1-gb%2F128910%3E%5C
**Category:** Beginners\
**Created:** [December 2, 2024, 8:13pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-repository-storage-limit-reached-max-1-gb%2F128910 "2024-12-02T20:13:44Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![meganariley](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/meganariley/32/56966_2.png) [@meganariley](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmeganariley)%5C
**Post date:** [February 4, 2025, 7:16pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-repository-storage-limit-reached-max-1-gb%2F128910%2F20 "2025-02-04T19:16:32Z")

</div>

Hi @DevangMahesh Thanks for posting! Spaces are typically used to showcase projects or demos and should only contain code. We do not recommend storing data in a Space repo. Data files can be loaded from other hub repo types (models, datasets) easily into your Gradio app. For example, the hub Python client library allows for a straightforward process to load datasets into your Gradio Space. More information can be found here: [🤗 Hub client library](https://huggingface.co/docs/huggingface_hub/en/index).

There are several benefits when it comes to storing data files in a [dataset](https://huggingface.co/docs/datasets/en/index), such as:

- You have the ability to version your app and data independently
- Your Space will rebuild more quickly
- You can work with the data more efficiently in a dataset, as they are optimized for data

Another option is creating a repo for your Space repository: [Create and manage a repository](https://huggingface.co/docs/huggingface_hub/main/en/guides/repository#repo-creation-and-deletion) and using your [Inference Endpoints](https://huggingface.co/docs/inference-endpoints/index) instead of Spaces.

We also have some tips and recommendations for freeing up storage in your Space: [Storage limits](https://huggingface.co/docs/hub/en/storage-limits#how-can-i-free-up-storage-space-in-my-accountorganization).

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-repository-storage-limit-reached-max-1-gb%2F128910)._
