Return-Path: X-Original-To: apmail-subversion-dev-archive@minotaur.apache.org Delivered-To: apmail-subversion-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4E896955A for ; Mon, 8 Dec 2014 19:39:55 +0000 (UTC) Received: (qmail 50049 invoked by uid 500); 8 Dec 2014 19:39:55 -0000 Delivered-To: apmail-subversion-dev-archive@subversion.apache.org Received: (qmail 49996 invoked by uid 500); 8 Dec 2014 19:39:55 -0000 Mailing-List: contact dev-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@subversion.apache.org Received: (qmail 49982 invoked by uid 99); 8 Dec 2014 19:39:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Dec 2014 19:39:54 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [192.109.42.8] (HELO einhorn.in-berlin.de) (192.109.42.8) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Dec 2014 19:39:47 +0000 X-Envelope-From: stsp@elego.de Received: from ted.stsp.name (ted.stsp.name [217.197.84.34]) by einhorn.in-berlin.de (8.14.4/8.14.4/Debian-4) with ESMTP id sB8JcOn4021851 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 8 Dec 2014 20:38:25 +0100 Received: from localhost (ted.stsp.name [local]); by ted.stsp.name (OpenSMTPD) with ESMTPA id 501dc9d0; Mon, 8 Dec 2014 20:38:24 +0100 (CET) Date: Mon, 8 Dec 2014 20:38:24 +0100 From: Stefan Sperling To: Philip Martin Cc: Stefan Fuhrmann , Subversion Development Subject: Re: On pool / memory usage debugging Message-ID: <20141208193824.GC25318@ted.stsp.name> Mail-Followup-To: Philip Martin , Stefan Fuhrmann , Subversion Development References: <87lhmine3m.fsf@ntlworld.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87lhmine3m.fsf@ntlworld.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Dec 08, 2014 at 07:19:57PM +0000, Philip Martin wrote: > I have been looking at the proposed 1.8/1.7 backport for issue 4531. > The problem is easy to reproduce with pool debugging enabled and the > patch does reduce memory use, but with a normal build I don't see the > excessive memory in the first place. That's surprising. > Was this issue raised in response to a problem observed in a normal > build? Can the problem be reproduced in a normal build? Perhaps the > large tree produced by the script in the issue is not large enough to > cause the problem in a normal build? It was found and reproduced first with a set of CollabNet SVN 1.8 binaries, both stand-alone and Edge ones, where it was crashing the server which evidently maxed out memory as displayed by top(1) on Linux. The original repository was much larger than the sample created by the gentree script, though, in the order of 40GB in total size. I'm not sure which repository format exactly. As mentioned in the issue I can reproduce the problem with a trunk build. The copy doesn't abort but uses roughly 2GB of memory before it completes.