当 Jenkins 作为 Windows 下的服务启动时,如何给它更多的堆空间? [英] How to give Jenkins more heap space when it´s started as a service under Windows?

查看:22
本文介绍了当 Jenkins 作为 Windows 下的服务启动时,如何给它更多的堆空间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想增加 Jenkins 的可用堆空间.但是因为它是作为服务安装的,所以我不知道该怎么做.

I want to increase the available heap space for Jenkins. But as it is installed as a service I don´t know how to do it.

推荐答案

在您的 Jenkins 安装目录中有一个 jenkins.xml,您可以在其中设置各种选项.将具有您想要的大小的参数 -Xmx 添加到参数标签(如果已经存在,则增加大小).

In your Jenkins installation directory there is a jenkins.xml, where you can set various options. Add the parameter -Xmx with the size you want to the arguments-tag (or increase the size if its already there).

这篇关于当 Jenkins 作为 Windows 下的服务启动时,如何给它更多的堆空间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆