Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f4EJRuA46336 for ; Mon, 14 May 2001 15:27:56 -0400 (EDT) (envelope-from pgsql-sql-owner@postgresql.org) Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f4EFvEA51790 for ; Mon, 14 May 2001 11:57:14 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.1/8.11.1) id f4EFTmF38904 for pgsql-sql@postgresql.org; Mon, 14 May 2001 11:29:48 -0400 (EDT) (envelope-from news) From: "Ligia Pimentel" X-Newsgroups: comp.databases.postgresql.sql Subject: fatal ERROR running simple join query... Date: Mon, 14 May 2001 09:28:18 -0500 Organization: . Lines: 27 Message-ID: <9dotl7$15vj$1@news.tht.net> Reply-To: "Ligia Pimentel" X-Complaints-To: scrappy@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 To: pgsql-sql@postgresql.org X-Archive-Number: 200105/133 X-Sequence-Number: 2950 I have a problem with postgres, I'm running a query that joins two tables, one with 129000+ records, and the other with 1172 records, it's a very simple join. But postgres can't handle it!!! (Both tables have an index on the field "cuentacb"). I get the following error after 3 minutes... migracion=# select * from cuentasequivalentes, equiv11mayo m migracion-# where cuentasequivalentes.cuentacb = m.cuentacb migracion-# and cuentasequivalentes.cuentabr <> m.cuentabr; FATAL 1: Memory exhausted in AllocSetAlloc() pqReadData() -- backend closed the channel unexpectedly. This probably means the backend terminated abnormally before or while processing the request. The connection to the server was lost. Attempting reset: Succeeded. What can I do? I'm guessing that I could change a configuration parameter or something like that, but I don't know. Please help me, it's kind of urgent. Ligia