Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 63438 invoked from network); 18 Mar 2008 00:51:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Mar 2008 00:51:37 -0000 Received: (qmail 42909 invoked by uid 500); 18 Mar 2008 00:51:28 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 42849 invoked by uid 500); 18 Mar 2008 00:51:28 -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 List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 42838 invoked by uid 99); 18 Mar 2008 00:51:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Mar 2008 17:51:27 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [68.142.236.94] (HELO web57901.mail.re3.yahoo.com) (68.142.236.94) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 18 Mar 2008 00:50:39 +0000 Received: (qmail 97958 invoked by uid 60001); 18 Mar 2008 00:50:58 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=Vblu1+rTELRtxjLmppxjMqitutDei9AAbqvO1OhsHrghoLZVspSjd8zf0/Guj02lHwMKncMmt/OQV6jP55baTGFuL7N4vGBdYKSxNS3vg7iM5jlh5YcITkezfBSVHa9gpsvjhTdXPF3Y1ONzsQH+nT0VrOoJqHBxJ0p+jkArwHA=; X-YMail-OSG: d7DJU0EVM1mxy8ZY7eHN9ZC_EKZkJwFkhHlcpb3CQ35plbwCcuVlg1ypk6D.gAMEFCc_R2vLO3_EFvFaMplcI0aX51AJexS7RqyQvLVnajOsEQ3J9do- Received: from [24.148.56.77] by web57901.mail.re3.yahoo.com via HTTP; Mon, 17 Mar 2008 17:50:58 PDT Date: Mon, 17 Mar 2008 17:50:58 -0700 (PDT) From: footh Subject: Re: Javaflow - major memory issue To: users@cocoon.apache.org In-Reply-To: <47DEC9CD.80303@agssa.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <587883.96126.qm@web57901.mail.re3.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks for all the replies. I did some more digging into the profiling data. It turns out that the ContinuationsManagerImpl is at the top of the object path of the byte arrays where org.apache.cocoon.environment.util.BufferedOutputStream is the actual parent of the arrays. Looking down the path, I can see the TreeSet and SortedSet that is mentioned in cocoon-2109. I would say this issue is a likely cause for the memory ballooning. The load tester is simulating 5 users staggered 10 seconds apart and only hitting a couple very simple pages. Yet within 15 minutes, the Tomcat memory use approaches 1GB. After stopping the load tester and examining the memory, I did notice in the profiler that the byte arrays eventually cleaned up. However, looking at the Task Manger (using Windows), Tomcat was still holding the full amount of memory from when I stopped the load tester, ie. it didn't go down when the byte arrays cleaned up. I suppose the next step is to try the patch provided in 2109. Any other suggestions? --- Antonio Gallardo wrote: > Hi, > > Could it be this > https://issues.apache.org/jira/browse/COCOON-2109 ? > > Best Regards, > > Antonio Gallardo. > > Torsten Curdt escribi�: > > I would have a look into the continuation > management infrastructure in > > cocoon and then start digging from there. I am > wondering if limiting > > and expiring the continuations works well enough > for you. (It was on > > my TODO to improve this part in cocoon - but I > never got around to it > > and moved on) > > > > cheers > > -- > > Torsten > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: > users-help@cocoon.apache.org > > ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org