← Docs
kotlin-stdlib / kotlin.native.runtime / GC / maxHeapBytes

maxHeapBytes

Native
1.3
var maxHeapBytes : Long
(source)

The maximum value for targetHeapBytes . Only used if autotune is true. See targetHeapBytes for more details.

Default: Long.MAX_VALUE

Unused in legacy MM.

Exceptions

IllegalArgumentException - when value is negative.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .