Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 84702 invoked from network); 12 Jul 2010 15:26:37 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Jul 2010 15:26:37 -0000 Received: (qmail 48452 invoked by uid 500); 12 Jul 2010 15:26:35 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 48397 invoked by uid 500); 12 Jul 2010 15:26:34 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 48389 invoked by uid 99); 12 Jul 2010 15:26:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jul 2010 15:26:34 +0000 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=PLING_QUERY,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [134.130.7.72] (HELO mta-1.ms.rz.rwth-aachen.de) (134.130.7.72) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jul 2010 15:26:25 +0000 MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from ironport-out-1.rz.rwth-aachen.de ([134.130.5.40]) by mta-1.ms.rz.RWTH-Aachen.de (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008)) with ESMTP id <0L5G00255AP8AL00@mta-1.ms.rz.RWTH-Aachen.de> for user@struts.apache.org; Mon, 12 Jul 2010 17:22:20 +0200 (CEST) X-IronPort-AV: E=Sophos;i="4.55,188,1278280800"; d="scan'208";a="64894993" Received: from relay-auth-1.ms.rz.rwth-aachen.de (HELO relay-auth-1) ([134.130.7.78]) by ironport-in-1.rz.rwth-aachen.de with ESMTP; Mon, 12 Jul 2010 17:22:20 +0200 Received: from [192.168.100.21] ([unknown] [82.149.71.10]) by relay-auth-1.ms.rz.rwth-aachen.de (Sun Java(tm) System Messaging Server 7.0-3.01 64bit (built Dec 9 2008)) with ESMTPA id <0L5G00K6QAP89B20@relay-auth-1.ms.rz.rwth-aachen.de> for user@struts.apache.org; Mon, 12 Jul 2010 17:22:20 +0200 (CEST) Message-id: <4C3B332F.6080701@rwth-aachen.de> Date: Mon, 12 Jul 2010 17:22:23 +0200 From: Philipp Leusmann User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.4) Gecko/20100608 Lightning/1.0b2 Thunderbird/3.1 To: user@struts.apache.org Subject: Re: OutOfMemoryError: PermGen space!!!! Dont know why? References: <9E8E18184E56D844804A6DF19B414D76513A1EAA@INDXM3121.dir.svc.accenture.com> In-reply-to: X-Virus-Checked: Checked by ClamAV on apache.org Use JConsole or if you need more details a profiling tool like Yourkit Am 12.07.2010 17:04, schrieb abhishek jain: > Hi, > How can i check how much memory is it currently consuming / using. > > thanks > abhishek > > On Sun, Jul 11, 2010 at 6:34 AM, Martin Gainty wrote: > >> sounds as if class and method objects could possibly be missed by GC..try >> this for running under Jboss using Sun JVM (bin/run.conf) settings >> >> >> >> -Xms128m >> >> -Xmx512m >> >> -Dsun.rmi.dgc.client.gcInterval=3600000 >> >> -Dsun.rmi.dgc.server.gcInterval=3600000 >> >> -XX:+UseConcMarkSweepGC >> >> -XX:+CMSPermGenSweepingEnabled >> >> -XX:+CMSClassUnloadingEnabled >> >> -XX:MaxPermSize=512m >> -Xverify:none >> >> >> >> of course these settings would be different for IBM JVM >> Martin Gainty >> ______________________________________________ >> Verzicht und Vertraulichkeitanmerkung/Note de d�ni et de confidentialit� >> >> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene >> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte >> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht >> dient lediglich dem Austausch von Informationen und entfaltet keine >> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von >> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. >> >> Ce message est confidentiel et peut �tre privil�gi�. Si vous n'�tes pas le >> destinataire pr�vu, nous te demandons avec bont� que pour satisfaire >> informez l'exp�diteur. N'importe quelle diffusion non autoris�e ou la copie >> de ceci est interdite. Ce message sert � l'information seulement et n'aura >> pas n'importe quel effet l�galement obligatoire. �tant donn� que les email >> peuvent facilement �tre sujets � la manipulation, nous ne pouvons accepter >> aucune responsabilit� pour le contenu fourni. >> >> >> >> >> >>> From: vikram.g.byali@accenture.com >>> To: user@struts.apache.org >>> Date: Fri, 9 Jul 2010 13:21:03 +0530 >>> Subject: RE: OutOfMemoryError: PermGen space!!!! Dont know why? >>> >>> -XX:PermSize=64M -XX:MaxPermSize=128M, these parameters define >>> "PermGenSpace", this is where all class files are loaded. >>> >>> Check out your Heap memory size. The PermGenSpace should be 1/4th of your >>> allocated Heap memory. >>> >>> >>> >>> Best Regards, >>> >>> Vikram >>> -----Original Message----- >>> From: Brian Thompson [mailto:elephantium@gmail.com] >>> Sent: Friday, July 09, 2010 1:14 PM >>> To: Struts Users Mailing List >>> Subject: Re: OutOfMemoryError: PermGen space!!!! Dont know why? >>> >>> You could also adjust your eclipse.ini to give more memory to the JVM: >>> >>> -XX:PermSize=64M -XX:MaxPermSize=128M >>> >>> Add it to the --vmargs section of the file. >>> >>> -Brian >>> --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org