setMaxHeapSize

abstract fun setMaxHeapSize(@Nullable maxHeapSize: @Nullable String)(source)

Sets the maximum heap size for the process. Supports the units megabytes (e.g. "512m") and gigabytes (e.g. "1g").

Parameters

maxHeapSize

The heap size. Use null for the default maximum heap size.