Return-Path: X-Original-To: apmail-archiva-dev-archive@www.apache.org Delivered-To: apmail-archiva-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 028BD98C3 for ; Thu, 5 Jan 2012 11:32:39 +0000 (UTC) Received: (qmail 90219 invoked by uid 500); 5 Jan 2012 11:32:38 -0000 Delivered-To: apmail-archiva-dev-archive@archiva.apache.org Received: (qmail 89591 invoked by uid 500); 5 Jan 2012 11:32:23 -0000 Mailing-List: contact dev-help@archiva.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@archiva.apache.org Delivered-To: mailing list dev@archiva.apache.org Received: (qmail 89565 invoked by uid 99); 5 Jan 2012 11:32:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jan 2012 11:32:19 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.214.170] (HELO mail-tul01m020-f170.google.com) (209.85.214.170) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jan 2012 11:32:14 +0000 Received: by obcwo10 with SMTP id wo10so453120obc.15 for ; Thu, 05 Jan 2012 03:31:53 -0800 (PST) Received: by 10.50.153.234 with SMTP id vj10mr2040813igb.16.1325763112948; Thu, 05 Jan 2012 03:31:52 -0800 (PST) Received: from [10.0.0.10] (CPE-124-184-249-130.lns14.cht.bigpond.net.au. [124.184.249.130]) by mx.google.com with ESMTPS id 5sm23209866ibe.8.2012.01.05.03.31.50 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Jan 2012 03:31:52 -0800 (PST) Sender: Brett Porter Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1251.1) Subject: Re: Archiva memory settings and stability From: Brett Porter In-Reply-To: Date: Thu, 5 Jan 2012 22:31:48 +1100 Content-Transfer-Encoding: quoted-printable Message-Id: <5083D35C-79DD-4B2F-BC49-EB7D34FB85BD@apache.org> References: To: dev@archiva.apache.org X-Mailer: Apple Mail (2.1251.1) On 05/01/2012, at 7:08 PM, Olivier Lamy wrote: > 2012/1/5 Brett Porter : >> Hi, >>=20 >> In MRM-1549, the -Xms was increased to 512m. This is very high for a = starting point - would it be better to use the default settings, but let = it grow to the upper setting? It is quite costly on memory when I run it = on my local machine. > Not xmas RAM ? :-) Hehe, no problem on the main machine (except for the VMs it has going = too), but it's more useful on the laptop when I'm offline and need to = conserve RAM and CPU... :) >>=20 >> A couple of years back I did a lot of profiling to try and get it as = lean as possible, so that we could run a minimal instance - this is = something I'd like to do again before 1.4. Between the large number of = classes to load and other memory use it's becoming impractical to run = that way again :) >>=20 > I usually like having -Xms to prevent later slower allocation. > But as it's something easily configurable: no problem. Understood - maybe we should also really consider again two = distributions (minimal proxy & full application). I guess I can tweak the settings locally as well. >=20 > BTW removing xmlrpc will decrease number of loaded classes. (and > moving to a plain html/js will remove struts classes loading too: more > longer task :-) ). Right... >=20 >> Also, I've noticed that the latest milestones are still not very = stable on vmbuild, restarting once or twice a day. Is anyone else seeing = similar problems? >=20 > No I'm not aware of that. > Any logs or stacktrace or dump available ? I need to poke at it some more (I think you also have access still?). I = think it's just a lot of GC but I could be wrong. - Brett -- Brett Porter brett@apache.org http://brettporter.wordpress.com/ http://au.linkedin.com/in/brettporter http://twitter.com/brettporter