Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 99ED4200B58 for ; Wed, 27 Jul 2016 17:36:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 98BA0160A6F; Wed, 27 Jul 2016 15:36:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E9FF3160A90 for ; Wed, 27 Jul 2016 17:36:21 +0200 (CEST) Received: (qmail 51898 invoked by uid 500); 27 Jul 2016 15:36:21 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 51854 invoked by uid 99); 27 Jul 2016 15:36:20 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jul 2016 15:36:20 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 1F854188809 for ; Wed, 27 Jul 2016 15:36:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.821 X-Spam-Level: X-Spam-Status: No, score=-0.821 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=qqmail.nl Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 8eEaKw3Hfnzn for ; Wed, 27 Jul 2016 15:36:18 +0000 (UTC) Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 8FDC25F2C4 for ; Wed, 27 Jul 2016 15:36:18 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id o80so7037187wme.0 for ; Wed, 27 Jul 2016 08:36:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qqmail.nl; s=google; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-transfer-encoding:content-language:thread-index; bh=LVZbSuvdoNwBho/qS3B5rVUHjHBph8MdKjUmabzmqyo=; b=Wm7ogB2Mdcbs5m8/uflh5SF0osvWDntp4snA+yT52oKuKk6lrGBwPFLhA3eUSwK1o/ 1eRLS3AIuKhRFN9t7kJlz6JSh4x7HtZAmkI6dQXPr8yp/ruIjh2kCkQKAUwKxECHCfgL wi8LhyBzGRbv0D8xRuewEAtn1K16JzD2Rkr4M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:content-language :thread-index; bh=LVZbSuvdoNwBho/qS3B5rVUHjHBph8MdKjUmabzmqyo=; b=UFxP4T1E2itWbw6l5M2BQEfvCX7kn84XZ9D0VevvJmWivsiFzwQcqxI4wlL/gGwEkj dTCSK6KH84tM5zel/ZEpgenbN8PuzCidFrYnXx+fibRUsbm7fFmWl1Jyiut3J02D4wt7 T2kez+oLwZbVkxHpNHzB1gR02MMatpaj3PAzn9bTHPK/wtQMSu7+4R8RgKpKwOvfoKPg DrJmCBbQzy3w7+z4ZbxblFiK+/NNtRqO080+x2n6rbla98Jq11W7l6K8jWQ1WuaS2Qd+ IWeOAPAJuQ5mKgnpZM94WKpND6Nq2bJCbBsVK0BFbkydBdtfZCwkQTP8gAti31R/nELv NygQ== X-Gm-Message-State: AEkoouuwe7SYcHISnNZdw7f72BnPuHdLCJIBWvqIri5buuyppftnp91NPUYTdGK9fJWx1g== X-Received: by 10.28.3.69 with SMTP id 66mr28601513wmd.26.1469633778061; Wed, 27 Jul 2016 08:36:18 -0700 (PDT) Received: from I72600 ([2001:610:66e:0:52e5:49ff:fee1:96b7]) by smtp.gmail.com with ESMTPSA id i3sm6947316wjd.31.2016.07.27.08.36.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Jul 2016 08:36:17 -0700 (PDT) From: "Bert Huijben" To: "'Vincent Lefevre'" , References: <20160727003626.GA5643@zira.vinc17.org> In-Reply-To: <20160727003626.GA5643@zira.vinc17.org> Subject: RE: svnserve takes too much memory for "svn blame" Date: Wed, 27 Jul 2016 17:36:14 +0200 Message-ID: <002001d1e81c$9d8962d0$d89c2870$@qqmail.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Content-Language: nl Thread-Index: AQFdqW4dMrrP+AS18xDahGsylhRzBaEU5ZaA archived-at: Wed, 27 Jul 2016 15:36:22 -0000 > -----Original Message----- > From: Vincent Lefevre [mailto:vincent-svn@vinc17.net] > Sent: woensdag 27 juli 2016 02:36 > To: users@subversion.apache.org > Subject: svnserve takes too much memory for "svn blame" > > When I do "svn blame" on some file (36972 lines), svnserve takes > more than 800 MB on the server (and is killed due to lack of > memory). So, it seems that svnserve is inefficient in terms of > memory usage (that's at least 22 KB per line!). > > svnserve, version 1.8.8 (r1568071) > compiled Aug 20 2015, 12:51:30 on x86_64-pc-linux-gnu 'svn blame' downloads all versions of the file (via binary diffs between the revisions that contain actual changes), so the number of lines in the file is not a number that really relates to what the server has to do. The number of relevant revisions is far more interesting... as is how much really changed in the file. Bert