2018年03月27日 gogs报git错误fatal: Out of memory, malloc failed (tried to allocate 317810689 bytes) 在git服务器端找到对应项目下config配置文件加上[pack] packsizelimit = 2g window = 0即可。