Re: Re out of memory error with large insert

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx] 
Sent: Tuesday, March 21, 2006 7:24 PM
To: Sriram Dandapani
Cc: pgsql-admin@xxxxxxxxxxxxxx
Subject: Re: [ADMIN] Re out of memory error with large insert 

"Sriram Dandapani" <sdandapani@xxxxxxxxxxxxxxx> 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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux