Received: from nikts.nk.ukrtel.net (nikts.nk.ukrtel.net [195.5.9.14]) by hub.org (8.9.3/8.9.3) with SMTP id IAA09429 for ; Sun, 30 Apr 2000 08:18:48 -0400 (EDT) (envelope-from alec@nikts.nk.ukrtel.net) Received: (qmail 25009 invoked from network); 30 Apr 2000 12:18:49 -0000 Received: from abn22.nikts (HELO nikts.nk.ukrtel.net) (10.11.5.22) by gate.nikts with SMTP; 30 Apr 2000 12:18:49 -0000 Message-ID: <390C24AC.2250CD95@nikts.nk.ukrtel.net> Date: Sun, 30 Apr 2000 15:18:52 +0300 From: Alexander N Shulyak X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 3.4-RELEASE i386) X-Accept-Language: ru, uk, en MIME-Version: 1.0 To: omid omoomi CC: pgsql-admin@postgreSQL.org Subject: Re: Memorry allocation problem References: <20000430095648.58002.qmail@hotmail.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit X-Archive-Number: 200004/102 omid omoomi wrote: > Hie, > I have a test table which contains about 1,300,000 rows, each row has 5 > int4/datetime/text fields. When I start "select * from table" in psql > environment, after about 2~3 mins this message shows up : > malloc: Cannot allocate memory > How can It be fixed? Is that a matter of OS or pg? > I'm using : > [PostgreSQL 6.5.2 on i386-unknown-freebsd3.2, compiled by gcc 2.7.2.1] > > TIA, > Omid Omoomi > > ________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com Hi. There are some limits in FreeBSD according to user's login class in Your password entry. To avoid limitations set login class root (or ask to do it Your system administrator). To SELECT all from Your table You'll have enough of swapping space (I think 500-600Mb). Alexander N Shulyak