Uploaded image for project: 'FOLIO'
  1. FOLIO
  2. FOLIO-2358

Use JVM features (UseContainerSupport, MaxRAMPercentage) to manage container memory

    XMLWordPrintable

Details

    • CP: sprint 77, CP: sprint 78
    • 8
    • Core: Platform

    Description

      To enable the JVM to use defaults in a container environment, Java 10 introduced "UseContainerSupport" and that was backported to Java 8 (8u191+). Use that in conjunction with "MaxRAMPercentage". These features were investigated in FOLIO-2334.

      Now update every back-end module to utilise these settings. Specifically:

      • In its Dockerfile, use the new JVM docker base image folioci/alpine-jre-openjdk8:latest
      • In its ModuleDescriptor at the LaunchDescriptor, use this setting for JAVA_OPTIONS: "-XX:MaxRAMPercentage=66.0"
      • After merge, then follow-up to remove its default settings from folio-ansible group_vars.

      See enhanced documentation (FOLIO-2357) at https://dev.folio.org/guides/module-descriptor/#launchdescriptor-properties

      There will be linked tickets for each back-end module.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                dcrossley David Crossley
                dcrossley David Crossley
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases