Servlets and memory usage.

2001-12-11 Thread Parmley, Scott C.
Hello everyone. I've run into a big problem with memory usage in servlets, and I want to get some opinnions on this. Here is the scenerio: I am running tomcat 4.0.1 on both linux and windoze 2000. I am using Singleton-Labs' MonarchCharts API to render a nice PNG chart which is then served ba

Re: Servlets and memory usage.

2001-12-11 Thread Micael Padraig Og mac Grene
At 02:05 PM 12/11/01 -0700, you wrote: >Hello everyone. > >I've run into a big problem with memory usage in servlets, and I want to >get some opinnions on this. >Here is the scenerio: >Has anyone run >into a similar issue like this? Is there a way to schedule servlet >memory to be garbage coll

RE: Servlets and memory usage.

2001-12-12 Thread Randy Layman
pplication that calls the API a few times, checking the available memory in between the calls (use the System class). Randy > -Original Message- > From: Parmley, Scott C. [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 11, 2001 4:06 PM > To: [EMAIL PROTECTED] &

RE: Servlets and memory usage.

2001-12-12 Thread Justin Rowles
> 1. If Java throws an OutOfMemoryException, there is no > more memory > to collect. Java guarantees that before the exception is > thrown the garbage > collector has run. If you get these exceptions then you still have > references to the memory. Hmmm. I know this is in the spec, but