Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 86320 invoked from network); 8 Apr 2008 19:26:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Apr 2008 19:26:21 -0000 Received: (qmail 33904 invoked by uid 500); 8 Apr 2008 19:26:15 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 33885 invoked by uid 500); 8 Apr 2008 19:26:15 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 33870 invoked by uid 99); 8 Apr 2008 19:26:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Apr 2008 12:26:15 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of clinton.begin@gmail.com designates 64.233.170.191 as permitted sender) Received: from [64.233.170.191] (HELO rn-out-0910.google.com) (64.233.170.191) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Apr 2008 19:25:33 +0000 Received: by rn-out-0910.google.com with SMTP id e13so2181549rng.16 for ; Tue, 08 Apr 2008 12:25:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=cK+tB648bx8bg7peIwM9H4pTFyPePSxFvSPMkmQtzmQ=; b=YfCTbNIDl1BNMrEwdhSEmyNWiyIzIF23zWCS2cR3EJh7MbMLO1WLQRKIH2SUvFFgjsGZKPkkH638dQaAlhoqAc7y78l1CREqN69DfNUz9XsdKMLKAJSq4+30+s42UBDDvU9chdEhoans78O7Abzb5azxXTkZom+08JAjI4ygpNA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ayo27tX2sYU1RLblkBHYL3K5CBkxlv2Xf/nnsroC7OnQ6EQ8QYHgw19IWYazNLIrrAf+q/oQzj9QuGL+VosxLW4DIRP09xbyGaRg6msIVYJxiaJ2vmUmcCh6M6mEryVevKwa1WKoEIWg2uP79rOUCaivp+f38A7YGl6JFpKExVI= Received: by 10.114.124.1 with SMTP id w1mr8079332wac.45.1207682740946; Tue, 08 Apr 2008 12:25:40 -0700 (PDT) Received: by 10.114.136.2 with HTTP; Tue, 8 Apr 2008 12:25:40 -0700 (PDT) Message-ID: <16178eb10804081225p945ca82n60cce5e0494dd749@mail.gmail.com> Date: Tue, 8 Apr 2008 13:25:40 -0600 From: "Clinton Begin" To: user-java@ibatis.apache.org Subject: Re: groupby x out of memory In-Reply-To: <1DA4730D9FDF93498D628B93820EEC0F0826F2CB@cos01m56.cosipa.su.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_19767_25666052.1207682740938" References: <1DA4730D9FDF93498D628B93820EEC0F0826F2CB@cos01m56.cosipa.su.net> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_19767_25666052.1207682740938 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Try disabling "enhancement" as well. It might be CGLIB. Clinton On Tue, Apr 8, 2008 at 6:51 AM, Fernando Simonetti wrote: > Eventually my aplication server is going down by "Out of Memory". > Analizing > de heap dumping, it's point for the same class allocating 600 Mb. > > This event can occur 3 hours or 3 days after I restart my server. This > class > is used thounsands times in the period. Monitoring the memory of the > server, > I could see 300MB to 700MB of memory been allocated in 3 minutes. It > hapens > eventualy but not in a determined period. > > The unique diference for this class for others, is the groupby clause in > Ibatis. First I thouth it could be a cartesian product, but I ran the > query > without parameters and found nothing. > > I going to implement this class without groupby clause, but first I would > like to see if there are other options. > > > thanks, > Fernando > > > ------=_Part_19767_25666052.1207682740938 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Try disabling "enhancement" as well.  It might be CGLIB.

Clinton

On Tue, Apr 8, 2008 at 6:51 AM, Fernando Simonetti <fernando@cosipa.com.br> wrote:
Eventually my aplication server is going down by "Out of Memory". Analizing
de heap dumping, it's point for the same class allocating 600 Mb.

This event can occur 3 hours or 3 days after I restart my server. This class
is used thounsands times in the period. Monitoring the memory of the server,
I could see 300MB to 700MB of memory been allocated in  3 minutes. It hapens
eventualy but not in a determined period.

The unique diference for this class for others, is the groupby clause in
Ibatis. First I thouth it could be a cartesian product, but I ran the query
without parameters and found nothing.

I going to implement this class without groupby clause, but first I would
like to see if there are other options.


thanks,
Fernando



------=_Part_19767_25666052.1207682740938--