From: paulo matadr <saddoness@yahoo.com.br>
To: Albe Laurenz <laurenz.albe@wien.gv.at>
Cc: GENERAL <pgsql-general@postgresql.org>
Cc: admin <pgsql-admin@postgresql.org>
Subject: Res: [GENERAL] bytea size limit?
Date: Wed, 21 Jan 2009 09:44:14 -0800 (PST)
Message-ID: <874436.25662.qm@web52503.mail.re2.yahoo.com> (raw)
References: <359812.4771.qm@web52512.mail.re2.yahoo.com>
<D960CB61B694CF459DCFB4B0128514C202F76305@exadv11.host.magwien.gv.at>
The size of object depend on report for a user request,
shared_buffers = 2048MB
work_mem = 12MB
-------
Server conf
16 GB RAM
Red Hat Enterprise Linux Server release 5
Using apliccation web based , with Jboss apliccation server on jdbc driver.
Lets see scenario :
Apliccation request a report,if this bigger , hangs .
No able to select or others report in this table.
________________________________
De: Albe Laurenz <laurenz.albe@wien.gv.at>
Para: paulo matadr *EXTERN* <saddoness@yahoo.com.br>; pgsql-general@postgresql.org; admin <pgsql-admin@postgresql.org>
Enviadas: Quarta-feira, 21 de Janeiro de 2009 14:03:17
Assunto: Re: [ADMIN] [GENERAL] bytea size limit?
paulo matadr wrote:
> I everyone, need help!!!
> My aplication return erro:
>
> 2009-01-20 10:22:03,264 INFO [STDOUT] Caused by: org.postgresql.util.
> PSQLException: ERROR: invalid memory alloc request size 1705447581
>
>
> TABLE batch.relatorio_gerado
>
> rege_id integer NOT NULL,
> fuin_id integer NOT NULL,
> rela_id integer NOT NULL,
> rege_tmultimaalteracao timestamp without time zone NOT NULL DEFAULT now(),
> rege_nnpaginas integer NOT NULL,
> rege_binario bytea,
> rege_pdf bytea
>
> I get this erro above refers the column "rege_pdf bytea" ,
> when try generate report in pdf.
What are you doing in terms of SQL?
INSERT, UPDATE, DELETE?
How big are the binary objects involved?
What are the values of the database parameters shared_buffers and work_mem?
Yours,
Laurenz Albe
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: saddoness@yahoo.com.br, laurenz.albe@wien.gv.at, pgsql-general@postgresql.org
Subject: Re: Res: [GENERAL] bytea size limit?
In-Reply-To: <874436.25662.qm@web52503.mail.re2.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox