tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From QM <qm...@brandxdev.net>
Subject Re: Memory settings and thread management
Date Thu, 15 Jul 2004 18:52:52 GMT
On Thu, Jul 15, 2004 at 11:45:31AM -0400, Jim Van Fleet wrote:
: They definitely don't each need their own thread, that was just the most 
: convenient way to write it at the time.  I didn't exactly foresee this 
: problem.

That certainly sounds like the source of memory problems: if each
message kicks off a thread, and the threads don't get serviced quickly
enough, you'll have a lot of objects laying around that are ineligible
for GC.

One more option: if you could somehow file the pertinent into in a
database (or other data store), you could have another app that takes
care of processing the large quantities e-mail.

This may, however, be too large a solution to your problem.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message