setInitialMemory method

void setInitialMemory(
  1. String value
)

Sets the initial Java heap size

Implementation

void setInitialMemory(String value) {
  // Remove any existing Xms settings to avoid duplicates
  _jvmOptions.removeWhere((option) => option.startsWith('-Xms'));
  _jvmOptions.add('-Xms$value');
}