Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-7941

Determine process memory limit from cgroups limit, if set

    XMLWordPrintableJSON

Details

    Description

      We currently take the hardcoded config value, or the system physical memory if that is not set. We could be smarter when running in a container by sniffing out the cgroups setting.

      Java did something along this lines: https://www.opsian.com/blog/java-on-docker/

      Attachments

        1. allocmem.cc
          3 kB
          Tim Armstrong

        Issue Links

          Activity

            People

              tarmstrong Tim Armstrong
              tarmstrong Tim Armstrong
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: