Unable to set MAVEN_OPTS

XMLWordPrintable

    • Type: Bug
    • Resolution: Not A Defect
    • Priority: Blocker
    • Component/s: maven-plugin
    • None
    • Environment:
      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.

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

              Created:
              Updated:
              Resolved: