# LFS file size threshold?

**URL:** <https://forum.gitea.com/t/lfs-file-size-threshold/9254>\
**Category:** Install/Maintain/Configure\
**Created:** [June 2, 2024, 1:44pm UTC](https://forum.gitea.com/t/lfs-file-size-threshold/9254 "2024-06-02T13:44:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Reformed6611](https://avatars.discourse-cdn.com/v4/letter/r/a9a28c/32.png) [@Reformed6611](https://forum.gitea.com/u/Reformed6611)\
**Post date:** [June 2, 2024, 1:44pm UTC](https://forum.gitea.com/t/lfs-file-size-threshold/9254/1 "2024-06-02T13:44:52Z")

</div>

I recently set up a gitea server, where I put a path for lfs storage and set LFS\_START\_SERVER to true.

However, I noticed that on repos where I have large files (300-600MB). The repo would still say 0 bytes are stored in lfs. Going to the lfs path also reveals it to be empty.

Is there a setting I am missing, from what size will gitea put files into the lfs path?

---

<div class="post-metadata">

**Author:** ![delvh](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/delvh/32/5047_2.png) [@delvh](https://forum.gitea.com/u/delvh)\
**Post date:** [June 2, 2024, 3:01pm UTC](https://forum.gitea.com/t/lfs-file-size-threshold/9254/2 "2024-06-02T15:01:31Z")

</div>

Gitea won’t auto-store files as LFS, you need to instruct it to do that.  
See also [https://git-lfs.com/](https://git-lfs.com/)

---

<div class="post-metadata">

**Author:** ![Reformed6611](https://avatars.discourse-cdn.com/v4/letter/r/a9a28c/32.png) [@Reformed6611](https://forum.gitea.com/u/Reformed6611)\
**Post date:** [June 2, 2024, 3:32pm UTC](https://forum.gitea.com/t/lfs-file-size-threshold/9254/3 "2024-06-02T15:32:40Z")

</div>

Ah thx for clearing that up, I thought it would just autoselect it on the back end based on file size.
