memoryBudgetBytes property

int? memoryBudgetBytes
final

Process memory budget in bytes for heap_near_capacity. Null (the default) disables the issue: without a known budget there is no ceiling to be near. Dart's own heapCapacity grows with usage, so the usage/capacity ratio sits at 0.85–0.97 in steady state and says nothing about how close the process is to being killed.

Implementation

final int? memoryBudgetBytes;