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

pauseOnTargetHeapOverflow

Native
1.3
var pauseOnTargetHeapOverflow : Boolean
(source)

If true, the GC will pause Kotlin threads when Kotlin heap overflows targetHeapBytes and will resume them only after current GC is done.

Default: true, unless autotune is false or maxHeapBytes is less than Long.MAX_VALUE .

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 .