sbt/notes/0.13.9/force-gc.markdown

776 B

Fixes with compatibility implications

Improvements

Bug fixes

  • Enables forced GC by default. See below.

Force GC

@cunei in #1223 discovered that sbt leaks PermGen when it creates classloaders to call Scala Compilers. sbt 0.13.9 will call GC on a set interval (default: 60s). It will also call GC right before cross building. This behavior can diabled using by setting false to forcegc setting or sbt.task.forcegc flag.

#1773 by @eed3si9n