# Project limits

| Feature                                          | Limit                                                                                                                                                                                                                                                  |
| ------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Compile timeout                                  | <p><strong>Default:</strong> 180 seconds.</p><p></p><p>See <a href="../../user-and-project-management/project-management#updating-project-compile-timeout">Updating project compile timeout</a> for more information about customizing this value.</p> |
| Maximum number of files per project              | 2000                                                                                                                                                                                                                                                   |
| Maximum size of editable material per project    | <p><strong>Default:</strong> 7 MB. </p><p></p><p>See <a href="../configuration/overleaf-toolkit/environment-variables">Environment variables</a> for more information about customizing this value.</p>                                                |
| Maximum size of an individual editable text file | 2 MB\*                                                                                                                                                                                                                                                 |
| Maximum size of an individual upload             | 50 MB                                                                                                                                                                                                                                                  |
| Maximum size of project                          | Unlimited†                                                                                                                                                                                                                                             |
| Maximum number of projects                       | Unlimited                                                                                                                                                                                                                                              |

\* Some larger files may remain editable under certain circumstances. However, to ensure that a file remains editable, you should limit its size to 2 MB or less.

† There's no enforced limit on total project size. However, you may find some technical limitations when working with very large projects. We recommend a maximum project size of 500 MB, or less than 100 MB if using our [Git integration](https://www.overleaf.com/learn/how-to/Git_integration). Projects above these sizes may work, but staying within these limits will give you the best experience.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.overleaf.com/on-premises/support/project-limits.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
