How to use the `Java Options` in jenkins ant build tool to set ANT_OPTS

前端 未结 2 948
别跟我提以往
别跟我提以往 2021-01-17 23:00

I have a problem with a junit ant build, i\'m getting a java.lang.OutOfMemoryError: PermGen space error.

I\'m trying to set ANT_OPTS

2条回答
  •  爱一瞬间的悲伤
    2021-01-17 23:14

    Also, u can add memory option in the build file also, like memoryInitialSize="256m" memoryMaximumSize="512m". this will help. as i am using the same, and it caused no problem till now.

提交回复
热议问题