Package io.deephaven.util.process
Class LinuxMemoryAvailable
java.lang.Object
io.deephaven.util.process.LinuxMemoryAvailable
On Linux systems we can read /proc/meminfo to understand how much memory is available.
The Dispatcher can use this information to prevent starting workers that would exhuast memory on the system.
See proc(5) for details.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe memory available, in bytes as reported by /proc/meminfo. -
Method Summary
-
Method Details
-
getMemInfoOrNull
- Returns:
- memInfo if supported, null otherwise
-