Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id E2E9D1337B4A for ; Thu, 11 Nov 2010 13:07:40 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 19141-02 for ; Thu, 11 Nov 2010 17:07:33 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by mail.postgresql.org (Postfix) with SMTP id D5700133798E for ; Thu, 11 Nov 2010 13:07:32 -0400 (AST) Received: (qmail 16104 invoked by uid 512); 11 Nov 2010 17:07:29 -0000 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 11 Nov 2010 17:07:29 -0000 Received: from unknown (HELO ?192.168.24.51?) (183.76.21.68) by sd.tpf.co.jp with SMTP; 11 Nov 2010 17:07:29 -0000 Message-ID: <4CDC22CD.2010905@tpf.co.jp> Date: Fri, 12 Nov 2010 02:07:25 +0900 From: Hiroshi Inoue User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; ja; rv:1.8.1.24) Gecko/20100228 Thunderbird/2.0.0.24 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: Silvio Brandani CC: pgsql-odbc@postgresql.org Subject: Re: out of memory query References: <4CDBCA57.1000909@tech.sdb.it> In-Reply-To: <4CDBCA57.1000909@tech.sdb.it> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.657 tagged_above=-10 required=5 tests=BAYES_40=-0.001, DNS_FROM_RFC_BOGUSMX=1.668, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: * X-Archive-Number: 201011/26 X-Sequence-Number: 10511 (2010/11/11 19:49), Silvio Brandani wrote: > Hi alls, > > Running a big query I got an out of memory error, this hapeens only from > application , the query run via psql return quickly the result, instead > the application (through odbc) fail with an out of memory error. > > please help. Do you close the cursors after executing queries? regards, Hiroshi Inoue