Closed
Description
- Gitea version (or commit ref): 1.14.0-rc2
- Git version: 2.30.2
- Operating system: docker
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Log gist (heap, allocs, gitea.log):
Logs.zip
Description
This is a follow up issue from the discord general channel.
Running git lfs push with very small LFS files (330kb in size total) and storage type minio causes a massive use of memory of gitea (around 2.2 GB). Pushing another round of small files quickly exceeds 5GB.
I’ve attached a zip containing a docker compose and test data so that you can reproduce the issue easily.
docker.zip
Reproduction steps:
- Extract docker.zip
- Adjust IP address for server.root_url and storage.minio.minio_endpoint in config/app.ini
- Run: docker-compose -f docker-compose.yml up -d
- Go to localhost and setup gitea
- Create a new repo + initialize
- Run: git clone
- Cd into cloned repo
- Run: git lfs install
- Run: git lfs track *.png
- Copy provided PNG images to repository
- Run: git add .
- Run: git lfs status - and verify that LFS files are tracked correctly
- Run: git commit and push
- Observe gitea memory usage spikes from 180 mb to around 2.2 GB