A
Amadeus
I am running Tomcat 4 on Unix and have web applications (servlets)
that routinely modify images files and stream the data to the client.
I've noticed that resource usage, especially RAM, increases rapidly
and goes down VERY slowly even when there are no requests...the more
complex the image manipulation, the more severe. Are there any special
techniques to be used when using Java 2D in web applications as far as
optimizing resource usage? Or do I leave the work to garbage
collection and cross my fingers till it's time to invest in more
hardware?
that routinely modify images files and stream the data to the client.
I've noticed that resource usage, especially RAM, increases rapidly
and goes down VERY slowly even when there are no requests...the more
complex the image manipulation, the more severe. Are there any special
techniques to be used when using Java 2D in web applications as far as
optimizing resource usage? Or do I leave the work to garbage
collection and cross my fingers till it's time to invest in more
hardware?