From 7f22ed7935107f275b041d572bc8322819794642 Mon Sep 17 00:00:00 2001 From: kahsa Date: Fri, 28 Jan 2022 20:18:59 +0900 Subject: [PATCH] doc: clarify the section about -autofree (#13309) --- doc/docs.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/docs.md b/doc/docs.md index c801b66eb2..5d490679e1 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -3888,6 +3888,11 @@ memory manually. (See [attributes](#attributes)). _Note: right now autofree is hidden behind the -autofree flag. It will be enabled by default in V 0.3. If autofree is not used, V programs will leak memory._ +Note 2: Autofree is still WIP. Until it stabilises and becomes the default, please +compile your long running processes with `-gc boehm`, which will use the +Boehm-Demers-Weiser conservative garbage collector, to free the memory, that your +programs leak, at runtime. + ### Examples ```v