Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 791 invoked from network); 27 May 2004 15:37:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 27 May 2004 15:37:16 -0000 Received: (qmail 75430 invoked by uid 500); 27 May 2004 15:37:24 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 75386 invoked by uid 500); 27 May 2004 15:37:23 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 75341 invoked by uid 98); 27 May 2004 15:37:23 -0000 Received: from gweinger@mii.ucla.edu by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(169.232.46.138):. Processed in 0.016743 secs); 27 May 2004 15:37:23 -0000 X-Qmail-Scanner-Mail-From: gweinger@mii.ucla.edu via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(169.232.46.138):. Processed in 0.016743 secs) Received: from unknown (HELO smtp.ucla.edu) (169.232.46.138) by hermes.apache.org with SMTP; 27 May 2004 15:37:22 -0000 Received: from mail.ucla.edu (mail.ucla.edu [169.232.48.135]) by smtp.ucla.edu (8.12.11/8.12.11) with ESMTP id i4RFb3x8027016 for ; Thu, 27 May 2004 08:37:03 -0700 Received: from mii.ucla.edu (lsanca2-ar30-4-43-176-212.lsanca2.dsl-verizon.net [4.43.176.212]) (authenticated bits=0) by mail.ucla.edu (8.12.11/8.12.11) with ESMTP id i4RFb1OP015106 for ; Thu, 27 May 2004 08:37:03 -0700 Message-ID: <40B60AA3.1060809@mii.ucla.edu> Date: Thu, 27 May 2004 08:34:59 -0700 From: Greg Weinger User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Large xml's in cocoon References: <200405271036.10498.anna@pinksheets.com> <36957.10.0.0.5.1085669743.squirrel@ags01.agsoftware.dnsalias.com> In-Reply-To: <36957.10.0.0.5.1085669743.squirrel@ags01.agsoftware.dnsalias.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Probable-Spam: no X-Spam-Hits: 0.16 X-Scanned-By: vscan.smtp.ucla.edu X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, The way your stylesheet is written can also create OutOfMemoryErrors. If your xpaths require that the entire document be held in memory before it is written, then you can run out of memory quickly. In your templates try to use absolute xpaths (/document/path/to/node) instead of inexact (//node). Hope that helps, Greg Antonio Gallardo wrote: >Anna Bikkina dijo: > > >>Hi, >> >>I have a xml file that contains database rows. If the number of rows are >>greater than 5000 then cocoon fails to tranform them to html and display >>them. It gives a blank page with no errors. >> >>Has anyone experienced this before? Is there a way I can make cocoon >>perform >>better with big xml.? >> >> > >Hi: > >Cocoon can manage it. Please check your catalina.out to see if there is a >"Out Of Memory error" If this is the case, then you need to allow your >servlet container (Tomcat, jetty, etc.) use more memory. I managed to >transform some files with more than 10,000 rows. > >If you don't have any error in catalina.out, then there is no error and >maybe the browser is taking a lot of time to render the page: > >If we generate a big HTML file with a lot of rows. It generates a lot of > tags and the browse need to calculate how to render this huge table >and that is the cause of the apparently long delay in the response. > >BTW, you can see the Cocoon response time in /WEB-INF/logs/access.log >file. The rest of the time is used by the browser to render the page. > >Hope this help. > >Best Regards, > >Antonio Gallardo. > > >