Enum EdgeMemoryBudgetKind
What EdgeResourceSnapshot.AvailableMemoryBytes actually measures.
public enum EdgeMemoryBudgetKind
Fields
Unknown = 0The platform reports nothing usable.
PerProcess = 1A per-process budget the caller may spend. Apple's
os_proc_available_memory(): "the current memory limit minus the memory footprint of your app".SystemWide = 2A system-wide free-memory figure that is NOT a per-app allowance. Android's
ActivityManager.MemoryInfo.AvailMem, whose own documentation says it "should not be considered absolute". Spending it in full is how a 1.24 GB model gets the app killed by lmkd, so the budget multiplies it by SystemWideMemoryFraction before believing it.