Having some troubles with packages

Hi there,

Im having some troubles with uploading files to generic packages store. Whenever i upload a file (e.g. 8gb) the memory spikes to 16gb (the maximum i gave the container) and it crashes and restarts. The temp folder(s) seem to stay empty during the upload. So im trying to figure out the route it takes, as it currently seems to stay in memory until it pops.

Gitea is currently installed as a chart on a truenas system. Ive been a happy user of gitea in the past but don’t remember this behavior. This is the first time we are running it as a container on truenas

Excuse me for my english, not my native language:)

Notes:
Behind reverse proxy and native this happens

Same for releases via api or web interface

Same happens if we set storage to minio/s3

Same happens when trying to move the temp locations to different storage locations

Gitea version 1.22.3

Well, I figured it out. We have our own package application that was sending the data to a non existent api endpoint due to a typo. And it will only give a generic not found after the payload. But this payload was able to crash the server before giving the 404. I would expect Gitea to close the connection if the location is not valid.