• Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Blocker Blocker
    • maven-plugin
    • None
    • Master: Ubuntu 8.10, 4x Xeon 3.2 GHz, 4 GB RAM.
      Slave: Ubuntu 9.04, 4x Xeon 3.2 GHz, 8 GB RAM.

      Build give this error:

      java.lang.OutOfMemoryError: Java heap space
      

      When I try to change MAVEN_OPTS under 'Configure System' it just doesn't seem to change. I have set MAVEN_OPTS=-XX:MaxPermSize=512m -Xmx1536m, but when I start the job it says -XX:MaxPermSize=256m -Xmx1024m instead.

      How do I go about changing MAVEN_OPTS for all projects? I have not set MAVEN_OPTS anywhere else. Not in projects, not on the servers.

          [JENKINS-6640] Unable to set MAVEN_OPTS

          paalnilsen created issue -

          Hello,

          Maven2 or Freestyle job? Sounds like a duplicate of JENKINS-5409

          Vincent Latombe added a comment - Hello, Maven2 or Freestyle job? Sounds like a duplicate of JENKINS-5409

          paalnilsen added a comment -

          Hi. It's a Maven2 (v. 2.0.10) project.

          paalnilsen added a comment - Hi. It's a Maven2 (v. 2.0.10) project.

          paalnilsen added a comment -

          We solved the issue. My attempts at locating MAVEN_OPTS in the project failed miserably yesterday. Today another developer found it under an Advanced button, so now we can change it.

          Sorry about wasting your time.

          paalnilsen added a comment - We solved the issue. My attempts at locating MAVEN_OPTS in the project failed miserably yesterday. Today another developer found it under an Advanced button, so now we can change it. Sorry about wasting your time.
          paalnilsen made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          paalnilsen made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Jenkins IRC Bot made changes -
          Component/s New: maven-plugin [ 16033 ]
          Component/s Original: maven2 [ 15487 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 136735 ] New: JNJira + In-Review [ 204194 ]
          Ben Apgar made changes -
          Link New: This issue relates to JENKINS-3755 [ JENKINS-3755 ]

            Unassigned Unassigned
            paalnilsen paalnilsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: