From harmony-dev-return-2512-apmail-incubator-harmony-dev-archive=incubator.apache.org@incubator.apache.org Thu Nov 10 09:54:59 2005 Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 82645 invoked from network); 10 Nov 2005 09:54:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Nov 2005 09:54:56 -0000 Received: (qmail 92399 invoked by uid 500); 10 Nov 2005 09:54:50 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 92344 invoked by uid 500); 10 Nov 2005 09:54:50 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 92333 invoked by uid 99); 10 Nov 2005 09:54:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Nov 2005 01:54:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [83.160.152.237] (HELO gnu.wildebeest.org) (83.160.152.237) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Nov 2005 01:54:41 -0800 Received: from elsschot.wildebeest.org ([192.168.1.26]) by gnu.wildebeest.org with esmtp (Exim 3.36 #1 (Debian)) id 1Ea99O-0005F7-00; Thu, 10 Nov 2005 10:55:22 +0100 Subject: Re: [Devjam] Re: ANN: gjdoc 0.7.6 released From: Mark Wielaard To: devjam@classpath-dev.wildebeest.org, classpath@gnu.org, harmony-dev@incubator.apache.org In-Reply-To: <2fl4q6kq2zu.fsf@saruman.uio.no> References: <50628.213.84.109.54.1129390396.squirrel@www.wildebeest.org> <4351762E.1070405@object-refinery.com> <4357EACF.70802@sektor37.de> <2fl4q6kq2zu.fsf@saruman.uio.no> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-QUR3LSWGjXh9k94W6KGR" Date: Thu, 10 Nov 2005 10:54:19 +0100 Message-Id: <1131616460.7570.268.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --=-QUR3LSWGjXh9k94W6KGR Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, [Oops, resent, made a mistake in trimming to the mailinglists as Petter suggested (misspelled the devjam mailinglist name). My apologies.] On Thu, 2005-11-10 at 10:13 +0100, Petter Reinholdtsen wrote: > And it is using a lot of memory when building documentation. It would > be nice if it could be modified to use less memory during build. I > hope this can be improved before v1.0 is released. I had to find a > machine with more memory when I build the latest classpath for upload > into debian, because gjdoc used > 250 MiB of memory on my 256 MiB RAM > laptop. :/ Agreed that lower memory usage is always a good thing. But Julian did a great job reducing it already. And to put things a bit in perspective classpath is not your average project. It has more then 4000 .java files, totaling almost 1.000.000 lines, 150+ packages and the "simple" class hierarchy tree page listing all classes relations and interfaces (http://developer.classpath.org/doc/tree.html) is already 1MB. gjdoc also generates cross references for all fields and methods it finds, which are a really huge number for the "core" libraries. (Julian, maybe gjdoc can print some statistics about packages, classes, methods and fields indexed after a run.) All this doesn't mean I wouldn't be excited if someone could look at the data-structures used and see if they can trim some fat! :) Also note that some runtimes use much more memory then others. For generating the classpath documentation with gjdoc I really recommend the natively compiled gcj version because that is by far the lightest on resource usage (not to mention the fastest). Cheers, Mark --=-QUR3LSWGjXh9k94W6KGR Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBDcxjLxVhZCJWr9QwRAjZBAKCB+G44AkKC2A1a4DpFg0xnc3vkUgCfZEAg o6B3CsVZjbxcTb5vNwyVZRI= =jMGc -----END PGP SIGNATURE----- --=-QUR3LSWGjXh9k94W6KGR--