From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 20 May 2019 13:03:53 +0300 From: Vladimir Davydov Subject: Re: [PATCH v5 0/2] Implement support of strip_core functionality Message-ID: <20190520100353.3knli6qxzq2o4lak@esperanza> References: <20190516214559.3310-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190516214559.3310-1-gorcunov@gmail.com> To: Cyrill Gorcunov Cc: tml , Alexander Turenko List-ID: On Fri, May 17, 2019 at 12:45:57AM +0300, Cyrill Gorcunov wrote: > Volodya, could you please help with more intensive testing since I'm not sure > how to fill memtx from console or some script yet. Just type in the console or a script: -- alloc 1 GB for memtx tuple arena box.cfg{memtx_memory = 1024 * 1024 * 1024} -- create a test space s = box.schema.space.create('test') s:create_index('primary') -- fill it until we run out of memory for i = 1, math.huge do s:insert{i, string.rep('x', 100 * 1024)} end -- double the size of memtx arena by adding more slabs box.cfg{memtx_memory = 2 * 1024 * 1024 * 1024} -- fill them up too for i = 1, math.huge do s:insert{i, string.rep('x', 100 * 1024)} end Then kill the tarantool with SIGSEGV to generate a core. The core size should be considerably less than 2 GB with strip_core enabled.