记一次git push出现Out of memory问题

使用git push出现错误提示

Out of memory, malloc failed (tried to allocate 341336996 bytes)

image

原因分析:
一次性push的文件太多,主机系统内存不够
解决方法:
增加虚拟机内存重新push 本次从8G增加到16G内存

posted @ 2024-05-10 16:35  minseo  阅读(39)  评论(0编辑  收藏  举报