Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-35218

docker-nexus3 - memory settings no longer removed from nexus.vmoptions

    Details

    • Sprint:
      NXRM Immortals Sprint 42, NXRM Immortals Sprint 43
    • Notability:
      1
    • InvestmentLayer:
      support-escalated
    • Aha Concept:
      non-concept

      Description

      In the chef based docker images (pre 3.41.1), the -X memory settings were removed from the nexus.vmoptions file:
      https://github.com/sonatype/chef-nexus-repository-manager/blob/main/recipes/docker.rb#L29-L31
       
      However in the non-chef based image (https://github.com/sonatype/docker-nexus3/blob/3.41.1/Dockerfile), this is no longer being done. As a result, the default heap settings in the nexus.vmoptions file are being used over the INSTALL4J_ADD_VM_PARAMS param settings.

      Expected:

      The new/non-chef images should also remove the memory settings from the nexus.vmoptions file.

      A new docker image needs to be published, and also a new helm chart and openshift operator so that those will also get the fix.

       

      Testing notes

      -  Build the image from the branch locally

      -  Run the image locally

      -  Connect using docker exec (i.e. docker exec -it ./bash {your container})

      • Verify the nexus.vmoptions file , it shouldn't have any memory related property.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              leonardor Leonardo Ruiz
              Reporter:
              hardeepn Hardeep Nagra
              Last Updated By:
              Hardeep Nagra Hardeep Nagra
              Team:
              NXRM - Optimus
              Owner:
              Leonardo Ruiz Leonardo Ruiz
              Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title