Received: from smtp015.mail.yahoo.com (smtp015.mail.yahoo.com [216.136.173.59]) by postgresql.org (8.11.3/8.11.1) with SMTP id f71EBKf44797 for ; Wed, 1 Aug 2001 10:11:20 -0400 (EDT) (envelope-from chrup999@yahoo.com) Received: from proxy.compucom.com (HELO Z161842) (204.214.145.2) by smtp.mail.vip.sc5.yahoo.com with SMTP; 1 Aug 2001 14:11:16 -0000 X-Apparently-From: Message-ID: <002301c11a93$d631ff00$5dd26383@corp.compucom.com> From: "Chris Ruprecht" To: "pgadmin" Subject: Memory exhausted errors Date: Wed, 1 Aug 2001 09:11:19 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0020_01C11A69.ED2074A0" X-Priority: 1 X-MSMail-Priority: High X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Archive-Number: 200108/1 X-Sequence-Number: 1932 This is a multi-part message in MIME format. ------=_NextPart_000_0020_01C11A69.ED2074A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, on a daily basis, I load records from an external source into my database. = During the load, the records go through a validation process during which I= have to read anywhere between 2 and 15 records from the database. The postmaster process which does this, starts out with 10 MB memory usage = but soon swells up to about 500 MB (on a normal day). Some days, I receive = a larger amount of data and the process swells up to about 1.4 GB before it= bombs out with a 'memory exhausted' message. I believe, the answer is to have the transactions smaller, but since PL/PGS= QL runs everything is one big transaction, how would I go about that? Can I= temporarily disable transaction processing all together for this process? = (if the load fails, I can easily delete the created records by hand). Best regards, Chris ------=_NextPart_000_0020_01C11A69.ED2074A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi all,
 
on a daily basis, I load records from an e= xternal=20 source into my database. During the load, the records go through a validati= on=20 process during which I have to read anywhere between 2 and 15 records from = the=20 database.
The postmaster process which does this, st= arts out=20 with 10 MB memory usage but soon swells up to about 500 MB (on a normal day= ).=20 Some days, I receive a larger amount of data and the process swells up to a= bout=20 1.4 GB before it bombs out with a 'memory exhausted' message.
I believe, the answer is to have the trans= actions=20 smaller, but since PL/PGSQL runs everything is one big transaction, ho= w=20 would I go about that? Can I temporarily disable transaction processing all= =20 together for this process? (if the load fails, I can easily delete the crea= ted=20 records by hand).
 
Best regards,
Chris
 
------=_NextPart_000_0020_01C11A69.ED2074A0-- _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com