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

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

问题描述

我想增加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添加到arguments-tag中(如果已经存在,则增加大小).

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).

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

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