handleMemoryPressure method

  1. @protected
  2. @mustCallSuper
void handleMemoryPressure()

Called when the operating system notifies the application of a memory pressure situation.

This method exposes the memoryPressure notification from SystemChannels.system.

Implementation

@protected
@mustCallSuper
void handleMemoryPressure() {
  rootBundle.clear();
}