> That's good. Many of the reports I've seen on this list have been people > moving up to Tomcat 6 and experiencing /more/ memory problems -- > indicating that TC6 uses a bit more memory. I'm glad you are having the > opposite experience.
I haven't used 5.x but 6.0.14 does seem (I'm still testing) more stable than 6.0.16, though that’s probably not a good thing for the progress of Tomcat. > Ouch. The default session timeout is 30 minutes, so you could > potentially have 1/2 MiB of data /per session/ laying around for 30 > minutes or so. This could certainly bust your heap. > That depends on a few factors... > Is there any reason for a session at all? Maybe if you explain a little > more about what the service does, we could help you optimize it a bit. > Do you handle all the processing during the request, or do you store the > document for batch processing and immediately return a response to the > client? I'd love to be able to tell you more about it, all I really know is it’s a GATE application that's dealing with semantics, this is the problem we have, no one has ever used Gate to do what were doing and subsequently this service is a first for Tomcat so it’s a big case of trial and error at the moment and just to throw more spanners the gate developers are using JRocket. > If you do everything during the request, I suspect that sessions are not > necessary at all. Eliminating sessions entirely can improve the > performance of your application and significantly improve your memory > footprint. All the processing is done in the request and returned straight away, so your right :) Sessions are probably not necessary so that’s another line of testing. Thanks **************************************************************************** Search all of our current vacancies at www.generic-software.com **************************************************************************** The information contained within this message is intended for the addressee only and may contain confidential and/or privileged information. If you are not the addressee, please delete this message and notify the sender - you should not copy, distribute or disclose its contents to other parties. Any images, documents, views or opinions expressed in this message are those of the sender and do not necessarily represent those of Generic Software Consultants Ltd or any of its affiliates. No reliance may be placed on this message without written confirmation from an authorised company representative, and no actions should be taken based on its contents. Generic Software Consultants Ltd Registered in England No. 2830109 @ St. Andrews House, Caldecotte Lake Drive, Caldecotte Business Park, Milton Keynes. MK7 8LE Tel: 01908 278450 VAT Registered No: 608 6625 28 ****************************************************************************