Re: Tomcat memory issues

2007-09-11 Thread Morten
"Peter Warren" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] >> As far as I under stand I should NOT close the "stream" object as I >> didn't >> open it. > > That's my understanding too. When I said I was keeping connections > open, I meant I was opening connections from the

Re: Tomcat memory issues

2007-09-07 Thread Peter Warren
> As far as I under stand I should NOT close the "stream" object as I didn't > open it. That's my understanding too. When I said I was keeping connections open, I meant I was opening connections from the client and not closing them. Since I'm using comet servlets, the server keeps the connection

Re: Tomcat memory issues

2007-09-07 Thread Morten
"Peter Warren" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] > Is it possible you're caching Request or Response objects somewhere > and not releasing them? I just did a bunch of memory profiling and > many of the classes you mention are the same classes I see when I open > an

Re: Tomcat memory issues

2007-09-06 Thread Peter Warren
Is it possible you're caching Request or Response objects somewhere and not releasing them? I just did a bunch of memory profiling and many of the classes you mention are the same classes I see when I open and don't close a bunch of connections to the server. -

Re: Tomcat memory issues

2007-09-06 Thread Dwayne
If you don't want to cache internally then you need a distributed caching scheme. There is an open source solution from the guys at Terracotta.org they call Network Attached Memory. Basically you can deploy a virtual heap against disk and make your memory as big as you want. They built all sorts

RE: Tomcat memory issues

2007-09-06 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Morten > Subject: Tomcat memory issues > > Are there any way to stop Tomcat from cached these large > byte[] internally? If you look near the end of conf/catalina.properties, you'll see some caching enable/disable lines; you might try turning o