Re: [OT] web app big memory usage?

2021-06-04 Thread Christopher Schultz
Cris, On 6/3/21 12:25, Berneburg, Cris J. - US wrote: cb> StringBuilder - 264MB for the supporting byte array and 264MB for the cb> returned String, about 790MB total for that piece of the pie. cb> Contents were simply the JSON query results returned to the client. cb> No mystery there. Also,

RE: [OT] web app big memory usage?

2021-06-03 Thread Berneburg, Cris J. - US
Thanks Chris [snip, snip, snippety-snip] CS> What's the database? And the driver? Oracle 19, oracle.jdbc.OracleDriver - jdbc:oracle:thin. CS> MySQL Connector/J used to (still does?) read 100% of the results CS> into the heap before Statement.executeQuery() returns unless you CS> specifically

Re: [OT] web app big memory usage?

2021-06-01 Thread Christopher Schultz
Cris, On 6/1/21 09:17, Berneburg, Cris J. - US wrote: Hi Chris [lots of snippage] cb> One of our web apps is using a "lot" of memory, specifically a big cb> user query. We'd like to find out why. cb> 1. Is there a way to analyze uncollected garbage? cb> * AWS EC2 instance. cb> * There are

RE: [OT] web app big memory usage?

2021-06-01 Thread Berneburg, Cris J. - US
Hi Chris [lots of snippage] cb> One of our web apps is using a "lot" of memory, specifically a big cb> user query. We'd like to find out why. cb> 1. Is there a way to analyze uncollected garbage? cb> * AWS EC2 instance. cb> * There are other TC instances on the same server. cb> * Each TC

RE: [OT] web app big memory usage?

2021-06-01 Thread Berneburg, Cris J. - US
Hi Raghunath cb> One of our web apps is using a "lot" of memory, cb> specifically a big user query. We'd like to find out why. cb> 1. Is there a way to analyze uncollected garbage? rm> You could try using the Oracle utility - "jstat" - for analyzing rm> the GC in an active Java process (PID)

RE: [OT] web app big memory usage?

2021-05-28 Thread Berneburg, Cris J. - US
Hi John :-) cb> 1. Is there a way to analyze uncollected garbage? cb> 2. Is that a reasonable way to identify potential memory usage problems? jeg> MAT has an option to "Keep unreachable options." It's under preferences. Thanks for the suggestion! I did not know about that option. jeg> It

RE: [OT] web app big memory usage?

2021-05-28 Thread Berneburg, Cris J. - US
Hi Amit :-) cb> 1. Is there a way to analyze uncollected garbage? cb> 2. Is that a reasonable way to identify potential memory usage problems? ap> Have you enabled the " Enable 'keep unreachable objects'" setting of MAT? ap> https://blog.gceasy.io/2015/12/11/eclipse-mat-titbits/ No, I had not

RE: [OT] web app big memory usage?

2021-05-27 Thread Mysore, Raghunath
ools/unix/jstat.html -Original Message- From: Berneburg, Cris J. - US Sent: Thursday, May 27, 2021 1:24 PM To: users@tomcat.apache.org Subject: [OT] web app big memory usage? Hi Folks :-) One of our web apps is using a "lot" of memory, specifically a big user query. We'd like to

Re: [OT] web app big memory usage?

2021-05-27 Thread Christopher Schultz
Cris, On 5/27/21 15:24, Berneburg, Cris J. - US wrote: Hi Folks :-) One of our web apps is using a "lot" of memory, specifically a big user query. We'd like to find out why. The Tomcat Web Application Manager Find leaks button said that "No web applications appear to have triggered a memory

RE: [OT] web app big memory usage?

2021-05-27 Thread John.E.Gregg
Cris, > -Original Message- > From: Berneburg, Cris J. - US > Sent: Thursday, May 27, 2021 2:24 PM > To: users@tomcat.apache.org > Subject: [OT] web app big memory usage? > > Hi Folks :-) > > One of our web apps is using a "lot" of memory, speci

RE: [OT] web app big memory usage?

2021-05-27 Thread Amit Pande
ERNAL] [OT] web app big memory usage? Hi Folks :-) One of our web apps is using a "lot" of memory, specifically a big user query. We'd like to find out why. The Tomcat Web Application Manager Find leaks button said that "No web applications appear to have triggered a me

[OT] web app big memory usage?

2021-05-27 Thread Berneburg, Cris J. - US
Hi Folks :-) One of our web apps is using a "lot" of memory, specifically a big user query. We'd like to find out why. The Tomcat Web Application Manager Find leaks button said that "No web applications appear to have triggered a memory leak on stop, reload or undeploy." Tomcat Manager