查找大文件
find / -type f -size +200M -print0 | xargs -0 du -h | sort -nr
cd /var/opt/gitlab/git-data/repositories/@hashed/5e/c1/5ec1a0c99d428601ce42b407ae9c675e0836a8ba591c8ca6e2a2cf5563d97ff0.git
今天在使用git clone项目的时候出现 ”remote: warning: suboptimal pack – out of memory”
经过搜索找到解决方法:在服务端该项目的仓库下,编辑 config 文件,在文件中添加
[pack] window=0
保存退出即可。