Griffon
  1. Griffon
  2. GRIFFON-469

_GriffonPackage.groovy JNLP webstart file JVM argument updated necessary to avoid Perm Gen space issues

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.5-rc1
    • Fix Version/s: 0.9.5-rc2
    • Component/s: cli
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Following script contained within _GriffonPackage.groovy concerning java-vm-args associated with spawning a webstart based application (utilized in the generation of a application.jnlp and applet.jnlp file):

      if (buildConfig.griffon.memory?.maxPermSize) {
        memOptions << "java-vm-args='-XX:maxPermSize=$buildConfig.griffon.memory.maxPermSize'"
      }
      

      Update with:

      if (buildConfig.griffon.memory?.maxPermSize && buildConfig.griffon.memory.minPermSize) {
              memOptions << "java-vm-args='-XX:MaxPermSize=$buildConfig.griffon.memory.maxPermSize -XX:PermSize=$buildConfig.griffon.memory.minPermSize'"
      }
      

        Activity

        Show
        Andres Almiray added a comment - Fixed with https://github.com/griffon/griffon/commit/ec337fedacbbbee69bea5bbe1893549371c4a6c3

          People

          • Assignee:
            Andres Almiray
            Reporter:
            Bisrat Dinka
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: