From 2192b0eaa06e07d7903d8c9f7debed36d4a46c84 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 3 Jun 2024 21:34:02 +0900 Subject: [PATCH] [DOC] man: Add environment variable RUBY_FREE_AT_EXIT --- man/ruby.1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/man/ruby.1 b/man/ruby.1 index cce7e2a040..556fddc4f7 100644 --- a/man/ruby.1 +++ b/man/ruby.1 @@ -517,6 +517,10 @@ enabled for only mswin32, mingw32, and OS/2 platforms. If this variable is not defined, Ruby refers to .Ev COMSPEC . .Pp +.It Ev RUBY_FREE_AT_EXIT +If set, Ruby tries to free all dynamically allocated memories. +Introduced in Ruby 3.3, default: unset. +.Pp .It Ev RUBY_IO_BUFFER_DEFAULT_SIZE The custom default buffer size of .Li IO::Buffer .