How to use the mem.util.free function in mem

To help you get started, we’ve selected a few mem examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Netflix / vector / src / app / charts / container.js View on Github external
          'free (unused)': (values) => ({ '-1': values['mem.util.free']['-1'] }),
          'container used': (values) => ({ '-1': firstValueInObject(values['cgroup.memory.usage']) }),
github Netflix / vector / src / app / charts / memory.js View on Github external
        'free (unused)': (slices) => ({ '-1': slices['mem.util.free']['-1'] }),
        'free (cache)': (slices) => ({ '-1': slices['mem.util.cached']['-1'] + slices['mem.util.bufmem']['-1'] }),

mem

Memoize functions - An optimization used to speed up consecutive function calls by caching the result of calls with identical input

MIT
Latest version published 12 months ago

Package Health Score

64 / 100
Full package analysis