scala-native icon indicating copy to clipboard operation
scala-native copied to clipboard

Add documentation for GC heap memory env vars

Open ekrich opened this issue 5 years ago • 1 comments

Currently we have SCALANATIVE_MIN_HEAP_SIZE and SCALANATIVE_MAX_HEAP_SIZE that can be configured.

It would be good to know how big a program can run in 1 mb. Not sure if swap is a factor.

Maybe in a new section for memory constrained devices.

As outlined here: https://github.com/scala-native/scala-native/pull/1374

ekrich avatar Jun 16 '20 22:06 ekrich

Internally these are named without the _HEAP. Edit: I think internally they should include _HEAP.

ekrich avatar Feb 05 '21 02:02 ekrich