From: Mohamad Gebai Subject: Re: Bug 19198: Double the memory caused by page alignment Date: Tue, 4 Jul 2017 05:52:48 -0400 Message-ID: References: <39ba1efe-0c32-249a-8bea-183a1eab13b2@suse.com> <3822b2e0-69b2-1213-ff9e-bb5f576dc43f@suse.com> <72854a7f-2441-b940-c10f-b71cb65600d6@mirantis.com> <214435da-9714-7929-00a0-3e9235c6d833@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Return-path: Received: from smtp.nue.novell.com ([195.135.221.5]:43666 "EHLO smtp.nue.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751910AbdGDJwy (ORCPT ); Tue, 4 Jul 2017 05:52:54 -0400 In-Reply-To: Content-Language: en-US Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Igor Fedotov , Sage Weil Cc: ceph-devel On 06/30/2017 10:55 AM, Igor Fedotov wrote: > > But AFAIR the scenario was pretty trivial - build Ceph with ALLOCATOR > configured to tcmalloc and run an UT with the diff from the ticket. > But the unit tests aren't linked against libtcmalloc.so, and therefore aren't using tcmalloc, right? Do I have to set LD_PRELOAD to force ctest to use tcmalloc? If I do set LD_PRELOAD, I don't see the memory problem anymore. Mohamad