Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: Out of memory problem


  • From: Nicola Farina <nicola(dot)farina(at)info-line(dot)it>
  • To: pgsql-general(at)postgresql(dot)org
  • Subject: Re: Out of memory problem
  • Date: Wed, 30 Dec 2009 14:40:49 +0100
  • Message-id: <4B3B5861.1080604@info-line.it> <text/plain>


The procedure is create_accessors_methods in the dbi_link package
which you can find at:
http://pgfoundry.org/projects/dbi-link/
I've slightly modified the code to adapt it better to Oracle.
Basically it is a procedure which builds a lot of views and tables based on objects (synonyms in my case)
found in an Oracle schema.

I've tried to increase shared_buffers to 512 (from 32) mb
but the process crashed even before...
I think I'll try decreasing ... just a shot in the dark ...

thanks
bye
Nicola

Craig Ringer wrote:
On 30/12/2009 6:35 PM, Nicola Farina wrote:
Hello

I am using PostgreSQL 8.3.7, compiled by Visual C++ build 1400 under
win32 on a pc with 2 gb ram.
I need to use a long running plperlu stored procedure which actually
seems to make pg consume lot of memory
till a point in which pg crashes.

Can you post the procedure code, or at least a description of what it does? Without knowing that, it's essentially impossible to answer your question.

--
Craig Ringer



--
Nicola Farina

Ufficio Progetti

Info Line Srl, Via Colorno 63/a, 43122 Parma
Tel 0521-609811
Fax 0521-606924
e-mail: nicola(dot)farina(at)info-line(dot)it
sito web: http://www.info-line.it



***  AVVISO di RISERVATEZZA ***

Ai sensi del D.lgs 196/03 si precisa che il contenuto di questo messaggio è rivolto unicamente alle persone cui è indirizzato e può contenere informazioni la cui riservatezza è tutelata legalmente.
Ne sono vietati la riproduzione, la diffusione e l'uso in mancanza di autorizzazione  del destinatario. Se l'avete ricevuto per errore vogliate eliminare il messaggio in modo permanente e darcene cortesemente notizia rispondendo all'indirizzo:
segreteria(at)info-line(dot)it





Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group