Is there a limit on uploading files to gitlab?

  • Page Owner: Not Set
  • Last Reviewed: 2018-09-13

If I wanted to upload files to Gitlab, say a 65mb zip of code released to the client, how frequently would I need to purge the old files to make room for the new ones? Are there any side effects I should worry about?

Comments

  • Are you storing these files in the repo? if so, I'd suggest looking into git lfs.

Additional Posts

If you're using git over http(s) or doing browser uploads, there's a max payload size of 100MB per push, but we're not currently able to enforce a maximum file size for most types of projects. If you get an error about filesize, it's because the server's temp drive ran out of disk space (probably around 2GB limit). Once we start running out of temp space, gitlab starts running strangely and we risk data-loss, so please don't test this.

That said, you should almost never be storing zips, other archives, or large binary files in git. Git is really not intended for large binary files, and gitlab isn't a file transfer utility. A zip should probably be sent to the client by other means.