Uploaded image for project: 'SEAD'
  1. SEAD
  2. SEAD-419

Verify/fix java heap settings

XMLWordPrintableJSON

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Normal Normal
    • 1.0.2
    • None
    • None
    • None

      The last line of /etc/default/tomcat6 on some machines (at least imlczo) is:
      JAVA_OPTS=" -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true"
      which overwrites the earlier JAVA_OPTS line with the -Xmx flag to set the heap size and the change in garbage collector.
      Both sead and nced already have fixed versions:
      JAVA_OPTS='"${JAVA_OPTS} -D ...

      which should be propagated to all machines (and the VM download?) to put the new -Xmx1g heap size into effect

      sead also has three additional lines:

      1. Path to native libraries
        JAVA_OPTS="${JAVA_OPTS} -Djava.library.path=/usr/share/tomcat6/lib/amd64"
        GDAL_DATA=/usr/share/gdal/1.9
        LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH"

      are these useful on the other machines?

              kooper Rob Kooper
              jimmyers Jim Myers
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: