Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 11875 invoked from network); 21 Mar 2011 08:02:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Mar 2011 08:02:25 -0000 Received: (qmail 39723 invoked by uid 500); 21 Mar 2011 08:02:20 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 39554 invoked by uid 500); 21 Mar 2011 08:02:20 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 39545 invoked by uid 99); 21 Mar 2011 08:02:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Mar 2011 08:02:19 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of abhishek.netjain@gmail.com designates 209.85.213.173 as permitted sender) Received: from [209.85.213.173] (HELO mail-yx0-f173.google.com) (209.85.213.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Mar 2011 08:02:14 +0000 Received: by yxk8 with SMTP id 8so2850066yxk.18 for ; Mon, 21 Mar 2011 01:01:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=D24qFDqwZRATXD+srKWk7KgNJsBvGbVdfVHlkjMhjiI=; b=ib/tcZdORFuIRXg3hhMO+HZYYckfRLRVoCqBUBzCZpmzp6u4TtkA+aSGepO5T0DJmm 8+AM8TfuHRf6F3HhmtcWpAxvajJECMuC2ZiTNcnbZ33fzWLH9ihc3KVL1+k9+S4kYPY4 hAVUt1gv+MnYuoUQT4TcBb/f0hXUo4US0zuh8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=uu3sFVcITV7eyKIKbsDJlRNR+DN/PAf03Mjq4Elc36Ndi5Nh04gGxvrxuznaIdkvhW nmvol6JvfdWUEMiXPYYPLnAyxMZQhmgCiXujHlU69Y5HhMrqkHEW1TwyrHrzXRFgCIMN 6ysExylSaNiTmKp6/Ueabiy92lSfmMmApGIBU= MIME-Version: 1.0 Received: by 10.91.197.14 with SMTP id z14mr1540806agp.172.1300694513950; Mon, 21 Mar 2011 01:01:53 -0700 (PDT) Received: by 10.90.104.2 with HTTP; Mon, 21 Mar 2011 01:01:53 -0700 (PDT) Date: Mon, 21 Mar 2011 13:31:53 +0530 Message-ID: Subject: Max value of MaxPermSize From: abhishek jain To: Tomcat Users List Content-Type: multipart/alternative; boundary=0016367657bc772059049ef98a16 --0016367657bc772059049ef98a16 Content-Type: text/plain; charset=ISO-8859-1 hi friends, I have to increase size of MaxPermSize by altering this line on catalina.sh as i am having memory errors. I wanted to know what is hte max size i can set as i have 3.5 GB RAM (on a VPS) and most of this is free. i am runnign Centos , tomcat 5.5 . if [ -r "$CATALINA_HOME"/bin/tomcat-juli.jar ]; then JAVA_OPTS="$JAVA_OPTS -server* -Xms1024M -Xmx1024M -XX:MaxPermSize=2048M*-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager" LOGGING_CONFIG="-Djava.util.logging.config.file=$CATALINA_BASE/conf/logging.properties" else # Bugzilla 45585 LOGGING_CONFIG="-Dnop" fi Pl. advice. -- Thanks and kind Regards, Abhishek jain --0016367657bc772059049ef98a16--