Skip to content

Provide a clearer way to request JVM to derive memory limit percentages #1515

Open
@itzg

Description

@itzg

Enhancement Type

Improve an existing feature

Describe the enhancement

As observed in #1512 , the unsetting of MEMORY with an empty string is an awkward and brittle way of saying "I would like the JVM to derive heap limits from the host/container".

I would like to instead introduce the new variables:

  • MEMORY_PCT
  • MAX_MEMORY_PCT, defaults to MEMORY_PCT
  • MIN_MEMORY_PCT, defaults to MEMORY_PCT

That will indicate MEMORY and co be ignored, but also add the JVM args, such as -XX:MaxRAMPercentage=75

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions