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

Unable to set MAVEN_OPTS

XMLWordPrintable

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

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

              Created:
              Updated:
              Resolved: