Uploaded image for project: 'odlparent'
  1. odlparent
  2. ODLPARENT-294

JAVA_MAX_MEM has no effect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 12.0.2, 10.0.6, 11.0.5
    • 12.0.0, 11.0.2, 10.0.4
    • Karaf
    • None

      Since v4.3.0 Karaf does not support the environment variables to set max/min heap memory (JAVA_MAX_MEM/JAVA_MIN_MEM): KARAF-6887, KARAF-7071

      However, odlparent still applies a patch to add this to setenv:

      if [ "x$JAVA_MAX_MEM" = "x" ]; then
          export JAVA_MAX_MEM="2048m"
      fi
      

      This gives a wrong impression that max heap size is set to 2GB by default and JAVA_MAX_MEM is a valid configuration option.

            rovarga Robert Varga
            sangwookha Sangwook Ha
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: