Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 72625633A57 for ; Thu, 5 Aug 2010 11:11:34 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 95426-04-3 for ; Thu, 5 Aug 2010 14:11:27 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.sdb.it (mail.sdb.it [212.141.11.2]) by mail.postgresql.org (Postfix) with ESMTP id F17C263382F for ; Thu, 5 Aug 2010 11:11:21 -0300 (ADT) Received: by mail.sdb.it (Postfix, from userid 500) id 050BE81FB; Thu, 5 Aug 2010 16:11:20 +0200 (CEST) Received: from geronimo.sdb.it (geronimo.sdb.it [10.101.1.20]) by mail.sdb.it (Postfix) with ESMTP id F417D81B5; Thu, 5 Aug 2010 16:11:19 +0200 (CEST) Received: from mailtech.sdb.it (sdbit-srv01.sdb.it [10.118.122.250]) by geronimo.sdb.it (Postfix) with ESMTP id 870483808A1; Thu, 5 Aug 2010 16:11:09 +0200 (CEST) Received: from [10.118.101.88] (silviob.sdb.it [10.118.101.88]) by mailtech.sdb.it (Postfix) with ESMTP id D646158ABC; Thu, 5 Aug 2010 16:11:19 +0200 (CEST) Message-ID: <4C5AC644.6050505@tech.sdb.it> Date: Thu, 05 Aug 2010 16:10:12 +0200 From: Silvio Brandani User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Victor Hugo Cc: pgsql-admin@postgresql.org Subject: Re: out of memory error References: <4C5AB62E.7020201@tech.sdb.it> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Private-Material: Please read notice X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.79 tagged_above=-10 required=5 tests=BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201008/18 X-Sequence-Number: 35267 Victor Hugo ha scritto: > Hi Silvio, > > I don't know if this is relevant. But, work_mem and some other > parameters inside postgresql.conf are not set. Here is a portion of > the file: > > shared_buffers = 32MB > temp_buffers = 8MB > max_prepared_transactions = 5 > work_mem = 1MB > maintenance_work_mem = 16MB > max_stack_depth = 2MB > > []īs > > Victor Hugo P.Clemente > Brazil > > 2010/8/5 Silvio Brandani : > >> Hi, >> >> a query on our production database give following errror: >> >> >> 2010-08-05 10:52:40 CEST [12106]: [278-1] ERROR: out of memory >> 2010-08-05 10:52:40 CEST [12106]: [279-1] DETAIL: Failed on request of size >> 48. >> >> >> >> >> any suggestion ? >> >> -- >> Silvio Brandani >> Infrastructure Administrator >> SDB Information Technology >> Phone: +39.055.3811222 >> Fax: +39.055.5201119 >> >> --- >> >> >> >> >> >> >> Utilizziamo i dati personali che la riguardano esclusivamente per nostre >> finalitā amministrative e contabili, anche quando li comunichiamo a terzi. >> Informazioni dettagliate, anche in ordine al Suo diritto di accesso e agli >> altri Suoi diritti, sono riportate alla pagina >> http://www.savinodelbene.com/news/privacy.html >> Se avete ricevuto questo messaggio per errore Vi preghiamo di ritornarlo al >> mittente eliminandolo assieme agli eventuali allegati, ai sensi art. 616 >> codice penale http://www.savinodelbene.com/codice_penale_616.html >> L'Azienda non si assume alcuna responsabilitā giuridica qualora pervengano >> da questo indirizzo messaggi estranei all'attivitā lavorativa o contrari a >> norme. >> -- >> >> -- >> Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) >> To make changes to your subscription: >> http://www.postgresql.org/mailpref/pgsql-admin >> >> > > > > I have tried to increase the parameters but still fail. what is strange is that with psql the query works fine and give result immediatly, with application through odbc the query fail --- Utilizziamo i dati personali che la riguardano esclusivamente per nostre finalitā amministrative e contabili, anche quando li comunichiamo a terzi. Informazioni dettagliate, anche in ordine al Suo diritto di accesso e agli altri Suoi diritti, sono riportate alla pagina http://www.savinodelbene.com/news/privacy.html Se avete ricevuto questo messaggio per errore Vi preghiamo di ritornarlo al mittente eliminandolo assieme agli eventuali allegati, ai sensi art. 616 codice penale http://www.savinodelbene.com/codice_penale_616.html L'Azienda non si assume alcuna responsabilitā giuridica qualora pervengano da questo indirizzo messaggi estranei all'attivitā lavorativa o contrari a norme. --