Using Gogs 0.11.66 and then Gogs 0.11.86 on a Debian 9.7 server. with sqlite3
I have not tried to reproduce this at try.gogs.io because it involves a very large repo - the Linux kernel.
I have been using Gogs successfully for LInux Kernel work for years now (thank you SO much!)
But when I checked in the latest kernel update from upstream (4.19.21 as it happens) and then tried to clone that … disaster.:
remote: fatal: Out of memory, realloc failed
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed
error: git upload-pack: git-pack-objects died with error.
fatal: git upload-pack: aborting due to possible repository corruption on the remote side.
Gogs: Internal error
The repo is ok on disk (I can check out locally on the server, from the gogs-repostories folder, not using Gogs)
All other repos on my Gogs installation are still working fine
This is completely repeatable. I’ve upgraded Gogs, restarted gogs, restarted the server, everything I can think of, but I always see this failure.
According to the Gogs dashboard, it is only using a small amount of RAM:
Current Memory Usage 18 MB
Total Memory Allocated 56 MB
Memory Obtained 64 MB
I can’t see anywhere where any memory limit for Gogs would be set, so I can’t tweak anything.
I see no errors or other issues in the Gogs “System Notices” log
I am really puzzled by this problem … is there anything else I can try to debug this?