mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Document MinimumTotalMemoryBytes.
PiperOrigin-RevId: 294273559
This commit is contained in:
committed by
gVisor bot
parent
bfa0bba72a
commit
c9a18b16ad
@@ -253,6 +253,10 @@ func (m *MemoryLocked) Copy() (MemoryStats, uint64) {
|
||||
}
|
||||
|
||||
// MinimumTotalMemoryBytes is the minimum reported total system memory.
|
||||
//
|
||||
// This can be configured through options provided to the Sentry at start.
|
||||
// This number is purely synthetic. This is only set before the application
|
||||
// starts executing, and must not be modified.
|
||||
var MinimumTotalMemoryBytes uint64 = 2 << 30 // 2 GB
|
||||
|
||||
// TotalMemory returns the "total usable memory" available.
|
||||
|
||||
Reference in New Issue
Block a user