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: 2009-12-30 13:40:49
Message-ID: 4B3B5861.1080604@info-line.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Nicola Farina 2009-12-30 16:10:30 Re: Out of memory problem
Previous Message Craig Ringer 2009-12-30 12:01:02 Re: Out of memory problem