pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander N Shulyak <alec@nikts.nk.ukrtel.net>
To: omid omoomi <oomoomi@hotmail.com>
Cc: pgsql-admin@postgreSQL.org
Subject: Re: Memorry allocation problem
Date: Sun, 30 Apr 2000 15:18:52 +0300
Message-ID: <390C24AC.2250CD95@nikts.nk.ukrtel.net> (raw)
References: <20000430095648.58002.qmail@hotmail.com>

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





view thread (3+ messages)

Message-ID: <390C24AC.2250CD95@nikts.nk.ukrtel.net>
Permalink:  ../390C24AC.2250CD95@nikts.nk.ukrtel.net/
Also on:    postgresql.org/message-id/390C24AC.2250CD95@nikts.nk.ukrtel.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: alec@nikts.nk.ukrtel.net, oomoomi@hotmail.com
  Subject: Re: Memorry allocation problem
  In-Reply-To: <390C24AC.2250CD95@nikts.nk.ukrtel.net>
  References: <20000430095648.58002.qmail@hotmail.com> <390C24AC.2250CD95@nikts.nk.ukrtel.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox