pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
palloc failure: memory exhausted, but ulimit 'unlimited'
2+ messages / 2 participants
[nested] [flat]

* palloc failure: memory exhausted, but ulimit 'unlimited'
@ 1998-10-26 05:13 Michael Olivier <molivier@yahoo.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Olivier @ 1998-10-26 05:13 UTC (permalink / raw)
  To: pgsql-sql

Hi,

I'm running postgresql-6.3.2-10 under RH Linux 5.1, and have a small
database (6 tables with hundreds of records each) on which I'm getting
the error

	FATAL 1:  palloc failure: memory exhausted

...on a complex select statement. I read in the FAQ that I need to up
ulimit, but as user 'michael', 'postgres', or 'root', when I type
'ulimit' at the bash prompt, it says 'unlimited'. I'm running on a
350MHz PC with 96 MB RAM and a 100 MB swap space. Other apps running
are Apache, netscape client, and emacs.

Any suggestions for me? I've also searched email archives and dejanews
but haven't found my answer.

My select query has a number of conditions in the 'where' clause, and
I'm wondering if I need to break them out into separate selects into
temporary tables. I tried breaking them into several temporary views
but got the same result.

thanks for your help!
 
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* RE: [SQL] palloc failure: memory exhausted, but ulimit 'unlimited '
@ 1998-10-27 00:13 Jackson, DeJuan <djackson@cpsgroup.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Jackson, DeJuan @ 1998-10-27 00:13 UTC (permalink / raw)
  To: michael.olivier@iname.com; pgsql-sql

My first guess would be that your select has a few OR's in it (if so
break it up into UNOIN's).  If not it would be nice if you would send
the statement so that we might give you pointers in rewriting it.
	-DEJ

> -----Original Message-----
> From:	Michael Olivier [SMTP:molivier@yahoo.com]
> Sent:	Sunday, October 25, 1998 11:13 PM
> To:	pgsql-sql@postgreSQL.org
> Subject:	[SQL] palloc failure: memory exhausted, but ulimit
> 'unlimited'
> 
> Hi,
> 
> I'm running postgresql-6.3.2-10 under RH Linux 5.1, and have a small
> database (6 tables with hundreds of records each) on which I'm getting
> the error
> 
> 	FATAL 1:  palloc failure: memory exhausted
> 
> ...on a complex select statement. I read in the FAQ that I need to up
> ulimit, but as user 'michael', 'postgres', or 'root', when I type
> 'ulimit' at the bash prompt, it says 'unlimited'. I'm running on a
> 350MHz PC with 96 MB RAM and a 100 MB swap space. Other apps running
> are Apache, netscape client, and emacs.
> 
> Any suggestions for me? I've also searched email archives and dejanews
> but haven't found my answer.
> 
> My select query has a number of conditions in the 'where' clause, and
> I'm wondering if I need to break them out into separate selects into
> temporary tables. I tried breaking them into several temporary views
> but got the same result.
> 
> thanks for your help!
>  
> _________________________________________________________
> DO YOU YAHOO!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~1998-10-27 00:13 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1998-10-26 05:13 palloc failure: memory exhausted, but ulimit 'unlimited' Michael Olivier <molivier@yahoo.com>
1998-10-27 00:13 RE: [SQL] palloc failure: memory exhausted, but ulimit 'unlimited ' Jackson, DeJuan <djackson@cpsgroup.com>

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