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

JAVA_MAX_MEM has no effect

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: