From: | "Sorin N(dot) Ciolofan" <ciolofan(at)ics(dot)forth(dot)gr> |
---|---|
To: | "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | <pgsql-general(at)postgresql(dot)org>, <pgsql-admin(at)postgresql(dot)org>, <pgsql-performance(at)postgresql(dot)org> |
Subject: | Re: [GENERAL] ERROR: out of shared memory |
Date: | 2007-03-27 13:13:42 |
Message-ID: | 20070327131301.065E38E40FC@mailhost.ics.forth.gr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-general pgsql-performance |
Dear Mr. Tom Lane,
Thank you very much for your answer.
It seems that the legacy application creates tables dynamically and the
number of the created tables depends on the size of the input of the
application. For the specific input which generated that error I've
estimated a number of created tables of about 4000.
Could be this the problem?
With best regards,
Sorin
-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Tuesday, March 27, 2007 6:37 AM
To: Sorin N. Ciolofan
Cc: pgsql-general(at)postgresql(dot)org; pgsql-admin(at)postgresql(dot)org;
pgsql-performance(at)postgresql(dot)org
Subject: Re: [GENERAL] ERROR: out of shared memory
"Sorin N. Ciolofan" <ciolofan(at)ics(dot)forth(dot)gr> writes:
> I have to manage an application written in java which call another
module
> written in java which uses Postgre DBMS in a Linux environment. I'm new to
> Postgres. The problem is that for large amounts of data the application
> throws an:
> org.postgresql.util.PSQLException: ERROR: out of shared memory
AFAIK the only very likely way to cause that is to touch enough
different tables in one transaction that you run out of lock entries.
While you could postpone the problem by increasing the
max_locks_per_transaction setting, I suspect there may be some basic
application misdesign involved here. How many tables have you got?
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2007-03-27 13:59:15 | Re: [GENERAL] ERROR: out of shared memory |
Previous Message | Merlin Moncure | 2007-03-27 13:06:38 | Re: [GENERAL] ERROR: out of shared memory |
From | Date | Subject | |
---|---|---|---|
Next Message | Jesse Cleary | 2007-03-27 13:19:59 | Re: Could not create relation: File exists error |
Previous Message | Peter Childs | 2007-03-27 13:10:38 | Re: [OT] cutting out the middleperl |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2007-03-27 13:59:15 | Re: [GENERAL] ERROR: out of shared memory |
Previous Message | Merlin Moncure | 2007-03-27 13:06:38 | Re: [GENERAL] ERROR: out of shared memory |