RES: Out Of Memory - String Operation

2006-07-28 Thread Siomara
PROTECTED] Enviada em: sexta-feira, 28 de julho de 2006 08:33 Para: users@tomcat.apache.org Assunto: Out Of Memory - String Operation Hi, My app is running out of app. Code does a lot of string opeartion.It involves fetching records from DB Initially i was using string objects- Pr

[OT] Re: Out Of Memory - String Operation

2006-07-28 Thread Christopher Schultz
Viks, > My app is running out of [memory]. > > Code does a lot of string opeartion. It involves fetching records > from DB. [snip] > For around 100k records my apps goes down on memory. > > Wondering if the app is able to sustain on String Obj why it is going > down with StringBuffer Objects.

Re: Out Of Memory - String Operation

2006-07-28 Thread David Delbecq
Viks wrote: Hi, My app is running out of app. Code does a lot of string opeartion.It involves fetching records from DB Initially i was using string objects- Program used to finish in about 40-45 min with ~95 cpu usage String concatenation like this String c = a+b; is done in

Re: Out Of Memory - String Operation

2006-07-28 Thread Mikolaj Rydzewski
Viks wrote: My app is running out of app. Why do you think it is tomcat specific problem? -- Mikolaj Rydzewski <[EMAIL PROTECTED]> smime.p7s Description: S/MIME Cryptographic Signature

Out Of Memory - String Operation

2006-07-28 Thread Viks
Hi, My app is running out of app. Code does a lot of string opeartion.It involves fetching records from DB Initially i was using string objects- Program used to finish in about 40-45 min with ~95 cpu usage We did some optimization on the code like changing the query from S