Re: Intermediate write in JSP

2006-07-19 Thread Martin Gainty
day, July 19, 2006 3:01 AM Subject: Re: Intermediate write in JSP >> I had a similar issue in the past that I overcome by having the servlet >> start a separate thread that was producing the report, >> And a jsp page refreshing every 10 seconds or so checking for completion.

Re: Intermediate write in JSP

2006-07-19 Thread Nikola Milutinovic
> I had a similar issue in the past that I overcome by having the servlet > start a separate thread that was producing the report, > And a jsp page refreshing every 10 seconds or so checking for completion. That is, of course, the asynchronous application design. Sometimes it is necessary, but i

RE: Intermediate write in JSP

2006-07-18 Thread Phil \(waex\)
2006 08:17 To: Tomcat Users List Subject: Re: Intermediate write in JSP Thanks Michael ...i will try this option. I have one more issue while looping throught the result set we see the memory usage increases contineously and then drops (after looping through ~5k) and then increases again

Re: Intermediate write in JSP

2006-07-18 Thread Abh N
Thanks Michael ...i will try this option. I have one more issue while looping throught the result set we see the memory usage increases contineously and then drops (after looping through ~5k) and then increases again. Is there any memory managemnt we can do from our side to that it d

Re: Intermediate write in JSP

2006-07-18 Thread Michael Jouravlev
Try setting buffer size to (8x10^6/3x10^4)x500 == 135K. On 7/18/06, Abh N <[EMAIL PROTECTED]> wrote: Hi, I have requirement where in I have to fetch around 30k (size around 8MB) records from DB and render in xls. I am looping through the result set and then using response.getOutputStream

Intermediate write in JSP

2006-07-18 Thread Abh N
Hi, I have requirement where in I have to fetch around 30k (size around 8MB) records from DB and render in xls. I am looping through the result set and then using response.getOutputStream for writing the data The server has a time out of 5min so by the time data gets completely