Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 70588 invoked from network); 2 Nov 2004 08:19:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Nov 2004 08:19:00 -0000 Received: (qmail 18999 invoked by uid 500); 2 Nov 2004 08:17:58 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 18952 invoked by uid 500); 2 Nov 2004 08:17:57 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 18939 invoked by uid 99); 2 Nov 2004 08:17:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=CLICK_BELOW X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [194.109.24.35] (HELO smtp-vbr15.xs4all.nl) (194.109.24.35) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 02 Nov 2004 00:17:56 -0800 Received: from [192.168.1.4] (a80-126-53-97.adsl.xs4all.nl [80.126.53.97]) by smtp-vbr15.xs4all.nl (8.12.11/8.12.11) with ESMTP id iA28Hm68065270 for ; Tue, 2 Nov 2004 09:17:49 +0100 (CET) (envelope-from rob@robinwyles.com) Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Robin Wyles Subject: Re: Finally figured out the memory settings for Windows server Date: Tue, 2 Nov 2004 09:17:45 +0100 To: users@cocoon.apache.org X-Mailer: Apple Mail (2.619) X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Derek, On 2 Nov 2004, at 07:42, Derek Hohls wrote: > Being the eternal optimist, I would like to ask if > anyone know how to do this for Tomcat 4.x.... there > is no "Configure Tomcat" on the Windows menu? It's a while since I ran Tomcat under Windows, but I believe you can set the JAVA_OPTS environment variable by editing the tomcat_home/bin/catalina.bat e.g: set JAVA_OPTS=-Xms128m -Xmx512m Robin > > >>>> GSchultz@commerce.state.wi.us 2004/11/01 05:03:08 PM >>> > Thanks to all who provided assistance. > > I figured it out for Windows server. Go to Start->Programs->Apache > Tomcat > 5.0->Configure Tomcat. This will open up a dialog box to change > settings. > Click the middle tab, Java VM. There is a text area to add Java > Options. > After the last entry, -Xrs, add -Xms -Xmx, where these > are the > minimum size and maximum size of memory usage for the Java virtual > machine > (JVM). Click Apply or OK, and restart the Tomcat service. > > One of the reasons I didn't think of this originally is that Apache > Tomcat > 5.0 was missing from Start-Programs on my development server. I like to > test > in development before testing in production. Once I figured this out I > reinstalled Tomcat on my development server, which placed Apache Tomcat > 5.0 > in Start->Programs. From there I was able to set and test the memory > settings for the JVM in development, and eventually place these into > production. The XSP that hits the Oracle database now flies. I can > gather a > 10947 record, 9.5 megabyte data stream quickly. It's an entirely new > web > site. It really performs well. I can't believe the improvement in > performance I received with the new memory settings. > > The increased performance isn't only with Cocoon. Performance of our > ArcIMS > applications has increased considerably. > > Once again, thanks to all who provided assistance. > > Gary T. Schultz > Web Technical Administrator / GIS Coordinator > Wisconsin Department of Commerce > 6th Floor > P.O. Box 7970 > Madison, WI > 1-608-266-1283 > > > > > -----Original Message----- > From: Schultz, Gary - COMM [mailto:GSchultz@commerce.state.wi.us] > Sent: Friday, October 29, 2004 12:51 AM > To: 'users@cocoon.apache.org' > Subject: Desperately seeking assistance and/or information on memory > setti ngs > > > I'm desperately seeking a real working solution to memory management > in > Java-Tomcat-Cocoon in Windows. I continue to run into low memory > errors. I > researched the Cocoon wiki, Java web sites and Tomcat web sites, but > none of > the solutions appears to work. I can't get Cocoon to use more than the > default 64 MB of memory allotted by the JVM. I had initially gotten > Cocoon > to free up 50% of the available memory, so I had 64 Meg in use, with > around > 30 Meg free. This initially help me with an XSP issue, but now when I > check > Cocoon status I see that memory is getting low again, sometimes the > status > page will show just over 1 meg of free memory. My XSP no longer works. > > > Our configuration: > > 2.4 GHz Xeon Processor Compaq server > 2.5 Gigabytes RAM > Windows 2000 (5.00.2195 Service Pack 4) > J2SDK 1.4.2_03 > Apache 2.0.49 > Tomcat 5.0.18 > Cocoon 2.1.5.1 > > I trying to sell Cocoon as a tool to help with a project at work. If I > can't > get consistent results with the XSP, management will not go with Cocoon > and > will turn to another solution. This will be a major set back for > greater use > of Cocoon in our agency. I'm also trying to sell other agencies in > Wisconsin > on the benefits of Cocoon, but this recent set back will only make my > efforts more difficult. > > Any assistance I can get is greatly appreciated. I would like to see > Cocoon > used for tasks other than a simple web publishing system. But the way > it > looks right now, that will be a hard sell in my agency and to other > State of > Wisconsin government agencies. > > Gary T. Schultz > Web Technical Administrator / GIS Coordinator > Wisconsin Department of Commerce > 6th Floor > P.O. Box 7970 > Madison, WI > 1-608-266-1283 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > MailScanner thanks transtec Computers for their support. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org