Jenkins服务器运行缓慢 [英] Jenkins server is running slow
本文介绍了Jenkins服务器运行缓慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的Jenkins服务器太慢了.Java需要120%或CPU.我该如何赋予Jenkins更多的内存访问权限.
My Jenkins server is so slow. Java takes 120% or CPU. How can I give Jenkins more memory access.
我可以采取哪些步骤来缩短Jenkins的加载时间
Of what steps can I take to improve the load time for Jenkins
推荐答案
您可以使用以下命令分配更多的内存和交换堆大小.
You can allocate more memory and swap heap sizes using the following commands.
这些可以在作业配置或詹金斯->管理->配置中设置
These can be set in the job configuration or Jenkins -> Manage -> Configure
-Xmx512m
-XX:MaxPermSize = 128m
-Xmx512m
-XX:MaxPermSize=128m
这篇关于Jenkins服务器运行缓慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文