Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 62669 invoked from network); 28 Aug 2006 18:15:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Aug 2006 18:15:42 -0000 Received: (qmail 81854 invoked by uid 500); 28 Aug 2006 18:15:31 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 81566 invoked by uid 500); 28 Aug 2006 18:15:30 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 81555 invoked by uid 99); 28 Aug 2006 18:15:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Aug 2006 11:15:30 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jose@suntech.com.br designates 200.247.83.134 as permitted sender) Received: from [200.247.83.134] (HELO mail1.suntech.com.br) (200.247.83.134) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Aug 2006 11:15:29 -0700 Received: from [192.168.1.111] ([192.168.1.111]) (authenticated bits=0) by mail1.suntech.com.br (8.13.1/8.13.1) with ESMTP id k7SIDZl3006197 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 28 Aug 2006 15:15:07 -0300 Message-ID: <44F3324B.3000309@suntech.com.br> Date: Mon, 28 Aug 2006 15:13:31 -0300 From: =?ISO-8859-1?Q?Jos=E9_Renato?= User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Handling huge amount data References: <44F32880.40406@suntech.com.br> <44F32D93.4040800@cornell.edu> In-Reply-To: <44F32D93.4040800@cornell.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV 0.88/1663/Tue Aug 15 10:08:37 2006 on localhost X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I am loading the data to be displayed with display-tag component. The data lists has been saved as request attributes. I will look for profilers to check this situation better. Thank a lot, Bye. David Smith escreveu: > If you are sure the sessions are where your memory is going, is there > any way to reduce the session size? I would think a query for a large > amount of data should be a request scoped item or maybe even put on > the presentation layer with a taglib. > > You could also be hanging onto object references in other parts of > your code. Invalidating the session won't clean that up. > > Also there are profilers around that will give you an idea of memory > useage. Google is your friend. > > --David > > Jos� Renato wrote: > >> Hi All, >> >> I have an web application deployed with Tomcat 5.0.28. In some cases >> my queries can bring back huge amounts of data. Looking Windows Task >> Manager I perceived the natural memory increase. I noticed that when >> I call my logout method (It calls session.invalidate()) or my user >> session expieres the memory is still in use, in other words, the >> memory is not cleaned. This process will cause OutOfMemoryException >> soon. I would like to undertand how can I discover why this happens >> and how can I fix it. >> >> Best regards, >> Jos� Renato. >> >> --------------------------------------------------------------------- >> To start a new topic, e-mail: users@tomcat.apache.org >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: users-help@tomcat.apache.org >> > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org