From: Koichi Sasada Date: 2018-08-14T11:54:15+09:00 Subject: [ruby-core:88468] Re: [Ruby trunk Feature#14955] [PATCH] gc.c: use MADV_FREE to release most of the heap page body On 2018/08/11 13:48, Eric Wong wrote: >> https://bugs.ruby-lang.org/issues/14955 > > One major question to ask is: does object count during > application lifetime vary enough to justify freeing > "struct heap_page_body"? > > In my experience, object count is relatively stable > once an application reaches steady state, and we don't > benefit from freeing heap_page_body. Good question. Applications have their own characteristics of memory usage and have suitable memory management strategy. > But then, maybe some weird applications allocate many objects at > startup, and steady state object count is much smaller than > startup. or, special cases (like requests to admin page) can increase objects. -- // SASADA Koichi at atdot dot net Unsubscribe: