bk-ci icon indicating copy to clipboard operation
bk-ci copied to clipboard

common-scm中SVN获取仓库的会导致服务器OOM

Open Grapefruit-Shu opened this issue 1 year ago • 1 comments

src/backend/ci/core/common/common-scm/src/main/kotlin/com/tencent/devops/scm/utils/code/svn/SvnUtils.kt 这个类中 getRepository 方法使用的 DefaultSVNRepositoryPool 会导致服务器 oom image 下图是该类型的数量 image 这个pool创建的对象不会被销毁掉,会一直在内存中堆积

Grapefruit-Shu avatar Jul 04 '23 08:07 Grapefruit-Shu