OUT_OF_MEMORY property

ProcessFailedReason OUT_OF_MEMORY
final

The process terminated due to running out of memory.

Officially Supported Platforms/Implementations:

Implementation

static final OUT_OF_MEMORY = ProcessFailedReason._internalMultiPlatform(
  'OUT_OF_MEMORY',
  () {
    switch (defaultTargetPlatform) {
      case TargetPlatform.windows:
        return 5;
      default:
        break;
    }
    return null;
  },
);