Re: Re out of memory error with large insert - Mailing list pgsql-admin

From Sriram Dandapani
Subject Re: Re out of memory error with large insert
Date
Msg-id 6992E470F12A444BB787B5C937B9D4DF03C492F5@ca-mail1.cis.local
Whole thread Raw
In response to Re out of memory error with large insert  ("Sriram Dandapani" <sdandapani@counterpane.com>)
List pgsql-admin
What are the recommended ulimit settings. A single postgres connection
that does an insert(with no other database activity) of say 6 million
rows into a 15 column table (all integer columns) cannot complete due to
an out of memory error

This happens on a 4Gb Linux box with shmmax set to 1gb and about 50000
shared_buffers

I would really appreciate any help ...

Thanks

Sriram

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Tuesday, March 21, 2006 7:24 PM
To: Sriram Dandapani
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Re out of memory error with large insert

"Sriram Dandapani" <sdandapani@counterpane.com> writes:
> Why doesn't Postgres use swap in this situation

Perhaps you need to adjust the ulimit settings that the postmaster is
started under.

            regards, tom lane

pgsql-admin by date:

Previous
From: Robin Iddon
Date:
Subject: Re: Random disconnects
Next
From: Pallav Kalva
Date:
Subject: Archive Command Configuration