Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-60477

Jenkins job is over running while creating jar files

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Not A Defect
    • Component/s: _unsorted
    • Labels:
      None
    • Environment:
      Prod
    • Similar Issues:

      Description

      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

       

        Attachments

          Activity

          Hide
          pierrebtz Pierre Beitz added a comment -

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

           

           

          Show
          pierrebtz Pierre Beitz added a comment - 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`.    
          Hide
          dganesan Divya Ganesan added a comment -

          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"

          Show
          dganesan Divya Ganesan added a comment - 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"
          Hide
          dganesan Divya Ganesan added a comment -

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

          Show
          dganesan Divya Ganesan added a comment - Note: Also if configuration needed, Suggest only for job level, not globally.
          Hide
          markewaite Mark Waite added a comment -

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

          Show
          markewaite Mark Waite added a comment - The Jenkins issue tracker is not a question and answer site. Please use the mailing list or the chat systems for questions.

            People

            • Assignee:
              Unassigned
              Reporter:
              dganesan Divya Ganesan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: