[JIRA] (JENKINS-60477) Jenkins job is over running while creating jar files

14 views
Skip to first unread message

divyaganesh1704@gmail.com (JIRA)

unread,
Dec 13, 2019, 11:36:02 AM12/13/19
to jenkinsc...@googlegroups.com
Divya Ganesan created an issue
 
Jenkins / Bug JENKINS-60477
Jenkins job is over running while creating jar files
Issue Type: Bug Bug
Assignee: Unassigned
Components: _unsorted
Created: 2019-12-13 16:35
Environment: Prod
Priority: Critical Critical
Reporter: Divya Ganesan

Hi,

 I can see the below error in job which is used to create jar file nad the job is overrunning and occupied 99% of CPU.

I have also configured the job by increasing heap size in "Invoke Ant" session by giving '-Xx1024m' . But still facing the same issue. Please suggest.

"[xmlbean] warning: [options] bootstrap class path not set in conjunction with -source 1.4

  [xmlbean] Exception in thread "main" java.lang.OutOfMemoryError: Java heap space"

 

Regards, 

Divya

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

pibeitz@gmail.com (JIRA)

unread,
Dec 14, 2019, 8:13:03 AM12/14/19
to jenkinsc...@googlegroups.com
Pierre Beitz commented on Bug JENKINS-60477
 
Re: Jenkins job is over running while creating jar files

Divya Ganesan , this doesn't look like a bug but a configuration issue.

Without more details on the job and the configuration it's hard to give a definite answer, but the error most probably means the heap size allocated to the agent running the build is not enough. You should start looking how much you need from outside Jenkins and adjust the heap of the node running the build accordindly. 

Note that you can set the Heap Size with `-Xmx`, not `-Xx`.

 

 

divyaganesh1704@gmail.com (JIRA)

unread,
Dec 16, 2019, 8:12:03 AM12/16/19
to jenkinsc...@googlegroups.com

Hi Pierre Beitz,

Thanks for your response.

Provided Heap size in individual job as -Xmx512m and -Xmx1024m and ran the job. But still not working and getting the below error but now it is not showing 'out of memory ' error.

Error:

"[xmlbean] warning: [options] bootstrap class path not set in conjunction with -source 1.4"

divyaganesh1704@gmail.com (JIRA)

unread,
Dec 18, 2019, 5:55:03 AM12/18/19
to jenkinsc...@googlegroups.com

Note: Also if configuration needed, Suggest only for job level, not globally.

mark.earl.waite@gmail.com (JIRA)

unread,
Feb 19, 2020, 6:26:03 PM2/19/20
to jenkinsc...@googlegroups.com
Mark Waite closed an issue as Not A Defect
 

The Jenkins issue tracker is not a question and answer site. Please use the mailing list or the chat systems for questions.

Change By: Mark Waite
Status: Open Closed
Resolution: Not A Defect
Reply all
Reply to author
Forward
0 new messages