Re: Large xml's in cocoon

2004-06-01 Thread Ugo Cei
Upayavira wrote: Switching to Jetty was the best thing we did - Tomcat fell over all the time. Jetty has just stayed up. I find Tomcat 5 to be infinitely more stable and performant than Tomcat 4, so I can live with that for the moment. If you ever decide to switch, let me know and I'll send you

Re: Large xml's in cocoon

2004-06-01 Thread Upayavira
Ugo Cei wrote: Pier Fumagalli wrote: Oh, on a side note, Ugo, I'd seriously switch your development/production environments... I'm not going into performance details (I don't want to raise a can of worms), but at least on my tests Tomcat is using 3x the memory that Jetty is using per single req

Re: Large xml's in cocoon

2004-05-28 Thread Ugo Cei
Pier Fumagalli wrote: Oh, on a side note, Ugo, I'd seriously switch your development/production environments... I'm not going into performance details (I don't want to raise a can of worms), but at least on my tests Tomcat is using 3x the memory that Jetty is using per single request, so it's m

Re: Large xml's in cocoon

2004-05-28 Thread Pier Fumagalli
On 28 May 2004, at 15:34, Ugo Cei wrote: Stefano Mazzocchi wrote: what if I'm using jetty? I don't know. We're currently using the bundled Jetty for development and Tomcat for staging/production. But my point still remains: it's better to crash and burn rather than try to survive if you get an O

Re: Large xml's in cocoon

2004-05-28 Thread Pier Fumagalli
On 28 May 2004, at 15:28, Stefano Mazzocchi wrote: Antonio Gallardo wrote: Stefano Mazzocchi dijo: Hmmm, Anna is right to report the problem though. I mean, why in hell an OutOfMemoryException get swollen like that? Not sure. I don't think we are swollen the exception in this case. But I am not t

Re: Large xml's in cocoon

2004-05-28 Thread Sylvain Wallez
Bruno Dumon wrote: On Fri, 2004-05-28 at 16:28, Stefano Mazzocchi wrote: Antonio Gallardo wrote: Stefano Mazzocchi dijo: Hmmm, Anna is right to report the problem though. I mean, why in hell an OutOfMemoryException get swollen like that? Not sure. I don't think we are swolle

Re: Large xml's in cocoon

2004-05-28 Thread Joerg Heinicke
On 28.05.2004 16:42, Bruno Dumon wrote: It is because it is an OutOfMemoryError, not an Exception. Currently Errors are not catched by Cocoon. There has been a discussion thread about this in the past, I don't remember if any consensus was reached about what how we want to treat Errors. There are a

Re: Large xml's in cocoon

2004-05-28 Thread Bruno Dumon
On Fri, 2004-05-28 at 16:28, Stefano Mazzocchi wrote: > Antonio Gallardo wrote: > > > Stefano Mazzocchi dijo: > > > >>Hmmm, Anna is right to report the problem though. I mean, why in hell an > >>OutOfMemoryException get swollen like that? > > > > > > Not sure. I don't think we are swollen the e

Re: Large xml's in cocoon

2004-05-28 Thread Ugo Cei
Stefano Mazzocchi wrote: what if I'm using jetty? I don't know. We're currently using the bundled Jetty for development and Tomcat for staging/production. But my point still remains: it's better to crash and burn rather than try to survive if you get an OOMException. Ugo

Re: Large xml's in cocoon

2004-05-28 Thread Stefano Mazzocchi
Ugo Cei wrote: Il giorno 28/mag/04, alle 03:26, Stefano Mazzocchi ha scritto: Hmmm, Anna is right to report the problem though. I mean, why in hell an OutOfMemoryException get swollen like that? Swollen? I think you mean "swallowed" here. eheh, right :-) [maybe my mind thought of "swollen" becau

Re: Large xml's in cocoon

2004-05-28 Thread Stefano Mazzocchi
Antonio Gallardo wrote: Stefano Mazzocchi dijo: Hmmm, Anna is right to report the problem though. I mean, why in hell an OutOfMemoryException get swollen like that? Not sure. I don't think we are swollen the exception in this case. But I am not the best knowledge to tell that. ;-) What I can said

Re: Large xml's in cocoon

2004-05-27 Thread Ugo Cei
Il giorno 28/mag/04, alle 03:26, Stefano Mazzocchi ha scritto: Hmmm, Anna is right to report the problem though. I mean, why in hell an OutOfMemoryException get swollen like that? Swollen? I think you mean "swallowed" here. Anyway, I think it has to do more with Tomcat than with Cocoon. It happen

RE: Large xml's in cocoon

2004-05-27 Thread Corin Moss
ittle superstitious ;) But do try it. Corin -Original Message- From: Antonio Gallardo [mailto:[EMAIL PROTECTED] Sent: Friday, 28 May 2004 2:29 p.m. To: [EMAIL PROTECTED] Subject: Re: Large xml's in cocoon Stefano Mazzocchi dijo: > Hmmm, Anna is right to report the problem though

Re: Large xml's in cocoon

2004-05-27 Thread Antonio Gallardo
Stefano Mazzocchi dijo: > Hmmm, Anna is right to report the problem though. I mean, why in hell an > OutOfMemoryException get swollen like that? Not sure. I don't think we are swollen the exception in this case. But I am not the best knowledge to tell that. ;-) What I can said is: we have an appl

Re: Large xml's in cocoon

2004-05-27 Thread Stefano Mazzocchi
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

Re: Large xml's in cocoon

2004-05-27 Thread Bruno Dumon
On Thu, 2004-05-27 at 16:36, Anna Bikkina wrote: > 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

Re: Large xml's in cocoon

2004-05-27 Thread Steven Noels
On 27 May 2004, at 17:34, Greg Weinger wrote: 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. This is, alas, still the behaviour of every XSLT

Re: Large xml's in cocoon

2004-05-27 Thread Greg Weinger
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 (/

Re: Large xml's in cocoon

2004-05-27 Thread Antonio Gallardo
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 >

Re: Large xml's in cocoon

2004-05-27 Thread Pier Fumagalli
On 27 May 2004, at 15:36, Anna Bikkina wrote: 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

Large xml's in cocoon

2004-05-27 Thread Anna Bikkina
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.?