Return-Path: X-Original-To: apmail-ant-dev-archive@www.apache.org Delivered-To: apmail-ant-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 0D6639566 for ; Tue, 26 Jun 2012 01:02:14 +0000 (UTC) Received: (qmail 91425 invoked by uid 500); 26 Jun 2012 01:02:13 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 91376 invoked by uid 500); 26 Jun 2012 01:02:13 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 91365 invoked by uid 99); 26 Jun 2012 01:02:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jun 2012 01:02:13 +0000 X-ASF-Spam-Status: No, hits=3.5 required=5.0 tests=FREEMAIL_FORGED_REPLYTO,FSL_FREEMAIL_1,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [98.139.91.75] (HELO nm5.bullet.mail.sp2.yahoo.com) (98.139.91.75) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 26 Jun 2012 01:02:02 +0000 Received: from [72.30.22.93] by nm5.bullet.mail.sp2.yahoo.com with NNFMP; 26 Jun 2012 01:01:40 -0000 Received: from [72.30.22.33] by tm15.bullet.mail.sp2.yahoo.com with NNFMP; 26 Jun 2012 01:00:40 -0000 Received: from [127.0.0.1] by omp1061.mail.sp2.yahoo.com with NNFMP; 26 Jun 2012 01:00:40 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 733669.62750.bm@omp1061.mail.sp2.yahoo.com Received: (qmail 58943 invoked by uid 60001); 26 Jun 2012 01:00:40 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1340672440; bh=MXedibj+EW/TrOt9lgESAgj3dFCoJC8rWs674OiU6Ig=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=CWPmLskoyRsJFUKkHwbGeW29c4zvibarAIWNroslroGfY5caQPyqIhb6OQ0H0xjjAQWN1oP5trotVirJloq3s/8vFKHdIeE68y22WZ6tjU6bCZ2EwA6R3vRC57RQchsE5mAVmXuKWsJ6BRNVle7aCwmN/JTzPfxjJDaa/rQRQgU= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=uxwXraJJwCBUo5cDuwksAD5vm7dCsWyTnAq7jnZVlkmEyM7+iW0qIwpjsvY4hZayc2aOPLJkDpLGH300YCRj+ZBwy3Pq3kfIRngcCeYXHwEP9cv3s6cRtM/IE2lwNmGKKQnVbbhDTZbrsHoFpXpdRaHAbppLyGqP/IkHD6jJv9k=; X-YMail-OSG: EcqEMyEVM1lab1_qALyk85jH7B_1Pa2dw29sFPX8RIx1MV. Mp6msiwZ.cjRhaNGMmkohMjFKxlJ5ZPyrgYAkoNn.PU7BxIjkULezJjUzcJN P.XKDSilY4LElsHm0EH0oQwrS7ejn0FfTEscVTkkd2Ku6bIVAxWLm7nPmjL5 zxlYg43yXnJtTlIFniLc_.mdbHXQRK3XR940D2t2CTc6bt1Wox9zs7iQbkCT a_QHqeYGqBN3xDGq_CrCRmopGvgK3YX0601ypSvetJGsmUxZvVWrZhbAIIjl V4QCxtwtxMY3s76t7UCi4eP_HxNWigHJqa6n0DFfAIKQRp4A5XFyH5rWc2oN tQ1cW4WazCEMqGkB_OdIlE3WXkHalzbTzzA1OJd.9vB76WWFZkNsLXi3ibVb Fp6TSL6wj4Ww1LU0Ms2eeXEdmdpz3eOPYoBVEfItW7rdPsT7u.I4CHnybxVN 7wK7R Received: from [207.230.238.50] by web112710.mail.gq1.yahoo.com via HTTP; Mon, 25 Jun 2012 18:00:39 PDT X-Mailer: YahooMailWebService/0.8.118.349524 References: <1340398906.49515.YahooMailNeo@web112710.mail.gq1.yahoo.com> <1340406612.1669.YahooMailNeo@web112713.mail.gq1.yahoo.com> <871ul53xw5.fsf@v35516.1blu.de> <1340657232.5816.YahooMailNeo@web112713.mail.gq1.yahoo.com> <1340661805.26149.YahooMailNeo@web161201.mail.bf1.yahoo.com> Message-ID: <1340672439.57276.YahooMailNeo@web112710.mail.gq1.yahoo.com> Date: Mon, 25 Jun 2012 18:00:39 -0700 (PDT) From: Charles Chan Reply-To: Charles Chan Subject: Re: "OutOfMemoryException: PermGen space" error with Ant? To: Ant Developers List In-Reply-To: <1340661805.26149.YahooMailNeo@web161201.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I tried to use Java VisualVM from JDK 6 (sorry, I couldn't figure out how t= o export the result)=0A=0A* number of classes loaded keep increasing starts= at 1500, then peaked at 6500. During this period, total unloaded shows 37.= =0A* PerGen starts at 8MB, and peak at 63M=0A=0A* Under Sampler > PermGen h= istogram=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 =0A=0A=A0=A0=A0 Read-Only Method Metadata Bytes=3D28,679,824 (47.0%)= Instances=3D179,166 (43.3%)=0A=A0=A0=A0 Read-Write Method Metadata Bytes= =3D14,338,520 (23.5%) Instances=3D179,166 (43.3%)=0A=A0=A0=A0 ...=0A=0AIs t= his information useful?=0A=0A=0A>________________________________=0A> From:= Vimil Saju =0A>To: Ant Developers List ; Charles Chan =0A>Sent: Monday, June 25, 2012 3= :03:25 PM=0A>Subject: Re: "OutOfMemoryException: PermGen space" error with = Ant?=0A> =0A>=0A>Did you try getting a heap dump? You can then use either = =A0VisualVM or MAT to detect memory leaks=A0 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org