Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 47B98134A409 for ; Fri, 27 Apr 2012 11:06:59 -0300 (ADT) Received: from mahout.postgresql.org ([98.129.198.123]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SNlp1-0001ty-5g for pgsql-bugs@postgresql.org; Fri, 27 Apr 2012 14:06:58 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SNloo-0002Ew-9H for pgsql-bugs@postgresql.org; Fri, 27 Apr 2012 14:06:42 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1SNloo-0003Fh-1p for pgsql-bugs@postgresql.org; Fri, 27 Apr 2012 14:06:42 +0000 Date: Fri, 27 Apr 2012 14:06:42 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #6620: Out of memory error To: pgsql-bugs@postgresql.org From: sathish@myc2s.com X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201204/186 X-Sequence-Number: 32937 The following bug has been logged on the website: Bug reference: 6620 Logged by: sathish Email address: sathish@myc2s.com PostgreSQL version: 9.1.3 Operating system: windows Xp 32 bit Description: = i have a Postgis table with about 2 million polyline records. The most number of points I have in the geometry field is about 500. I have a java program that does a select for most of these records and do some processing with them before writing them to a file. Unfortunately, I seem to keep getting this error: execute failed: out of memory for query result This query works fine with less select statement, my next largest table. I believe the program is failing at the first execute after prepare on this table.