pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Fatal error: Allowed memory size of 8388608 bytes exhausted
7+ messages / 6 participants
[nested] [flat]

* Fatal error: Allowed memory size of 8388608 bytes exhausted
@ 2003-09-24 04:37 shreedhar <shreedhar@lucidindia.net>
  2003-09-24 05:14 ` Re: Fatal error: Allowed memory size of 8388608 bytes exhausted Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 7+ messages in thread

From: shreedhar @ 2003-09-24 04:37 UTC (permalink / raw)
  To: Postgre General <pgsql-general@postgresql.org>; pgsql-admin

If I try to insert I got the following error as


Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 79 bytes)

Where to set that.

Regards,
Sreedhar Bhaskararaju




^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: Fatal error: Allowed memory size of 8388608 bytes exhausted
  2003-09-24 04:37 Fatal error: Allowed memory size of 8388608 bytes exhausted shreedhar <shreedhar@lucidindia.net>
@ 2003-09-24 05:14 ` Tom Lane <tgl@sss.pgh.pa.us>
  2003-09-24 06:05   ` Re: Fatal error: Allowed memory size of 8388608 bytes exhausted shreedhar <shreedhar@lucidindia.net>
  0 siblings, 1 reply; 7+ messages in thread

From: Tom Lane @ 2003-09-24 05:14 UTC (permalink / raw)
  To: shreedhar <shreedhar@lucidindia.net>; +Cc: Postgre General <pgsql-general@postgresql.org>; pgsql-admin

"shreedhar" <shreedhar@lucidindia.net> writes:
> If I try to insert I got the following error as
> Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
> allocate 79 bytes)

There is not, and never has been, any error message of that wording in
the PG backend.  You must be looking at some client-side failure.  But
since you didn't tell us what client-side code you're using, it's hard
to say more than that...

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: Fatal error: Allowed memory size of 8388608 bytes exhausted
  2003-09-24 04:37 Fatal error: Allowed memory size of 8388608 bytes exhausted shreedhar <shreedhar@lucidindia.net>
  2003-09-24 05:14 ` Re: Fatal error: Allowed memory size of 8388608 bytes exhausted Tom Lane <tgl@sss.pgh.pa.us>
@ 2003-09-24 06:05   ` shreedhar <shreedhar@lucidindia.net>
  2003-09-24 06:32     ` Re: [GENERAL] Fatal error: Allowed memory size of 8388608 Nigel J. Andrews <nandrews@investsystems.co.uk>
  2003-09-24 06:52     ` Re: Fatal error: Allowed memory size of 8388608 bytes exhausted maillist <maillist@tnss.com>
  2003-09-24 14:11     ` Re: [GENERAL] Fatal error: Allowed memory size of 8388608 scott.marlowe <scott.marlowe@ihs.com>
  0 siblings, 3 replies; 7+ messages in thread

From: shreedhar @ 2003-09-24 06:05 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Postgre General <pgsql-general@postgresql.org>; pgsql-admin

I am using PHP4 as client side.

----- Original Message -----
From: "Tom Lane" <tgl@sss.pgh.pa.us>
To: "shreedhar" <shreedhar@lucidindia.net>
Cc: "Postgre General" <pgsql-general@postgresql.org>; "Postgre Admin"
<pgsql-admin@postgresql.org>
Sent: Wednesday, September 24, 2003 10:44 AM
Subject: Re: [ADMIN] Fatal error: Allowed memory size of 8388608 bytes
exhausted


> "shreedhar" <shreedhar@lucidindia.net> writes:
> > If I try to insert I got the following error as
> > Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
> > allocate 79 bytes)
>
> There is not, and never has been, any error message of that wording in
> the PG backend.  You must be looking at some client-side failure.  But
> since you didn't tell us what client-side code you're using, it's hard
> to say more than that...
>
> regards, tom lane
>




^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: [GENERAL] Fatal error: Allowed memory size of 8388608
  2003-09-24 04:37 Fatal error: Allowed memory size of 8388608 bytes exhausted shreedhar <shreedhar@lucidindia.net>
  2003-09-24 05:14 ` Re: Fatal error: Allowed memory size of 8388608 bytes exhausted Tom Lane <tgl@sss.pgh.pa.us>
  2003-09-24 06:05   ` Re: Fatal error: Allowed memory size of 8388608 bytes exhausted shreedhar <shreedhar@lucidindia.net>
@ 2003-09-24 06:32     ` Nigel J. Andrews <nandrews@investsystems.co.uk>
  2003-09-24 09:52       ` Re: [GENERAL] Fatal error: Allowed memory size of 8388608 Arjen van der Meijden <acmmailing@vulcanus.its.tudelft.nl>
  2 siblings, 1 reply; 7+ messages in thread

From: Nigel J. Andrews @ 2003-09-24 06:32 UTC (permalink / raw)
  To: shreedhar <shreedhar@lucidindia.net>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; Postgre General <pgsql-general@postgresql.org>; pgsql-admin

On Wed, 24 Sep 2003, shreedhar wrote:

> I am using PHP4 as client side.

In that case what about this setting in php.ini:

memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)

> 
> ----- Original Message -----
> From: "Tom Lane" <tgl@sss.pgh.pa.us>
> To: "shreedhar" <shreedhar@lucidindia.net>
> Cc: "Postgre General" <pgsql-general@postgresql.org>; "Postgre Admin"
> <pgsql-admin@postgresql.org>
> Sent: Wednesday, September 24, 2003 10:44 AM
> Subject: Re: [ADMIN] Fatal error: Allowed memory size of 8388608 bytes
> exhausted
> 
> 
> > "shreedhar" <shreedhar@lucidindia.net> writes:
> > > If I try to insert I got the following error as
> > > Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
> > > allocate 79 bytes)
> >
> > There is not, and never has been, any error message of that wording in
> > the PG backend.  You must be looking at some client-side failure.  But
> > since you didn't tell us what client-side code you're using, it's hard
> > to say more than that...




^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: [GENERAL] Fatal error: Allowed memory size of 8388608
  2003-09-24 04:37 Fatal error: Allowed memory size of 8388608 bytes exhausted shreedhar <shreedhar@lucidindia.net>
  2003-09-24 05:14 ` Re: Fatal error: Allowed memory size of 8388608 bytes exhausted Tom Lane <tgl@sss.pgh.pa.us>
  2003-09-24 06:05   ` Re: Fatal error: Allowed memory size of 8388608 bytes exhausted shreedhar <shreedhar@lucidindia.net>
  2003-09-24 06:32     ` Re: [GENERAL] Fatal error: Allowed memory size of 8388608 Nigel J. Andrews <nandrews@investsystems.co.uk>
@ 2003-09-24 09:52       ` Arjen van der Meijden <acmmailing@vulcanus.its.tudelft.nl>
  0 siblings, 0 replies; 7+ messages in thread

From: Arjen van der Meijden @ 2003-09-24 09:52 UTC (permalink / raw)
  To: 'Nigel J. Andrews' <nandrews@investsystems.co.uk>; 'shreedhar' <shreedhar@lucidindia.net>; +Cc: 'Tom Lane' <tgl@sss.pgh.pa.us>; 'Postgre General' <pgsql-general@postgresql.org>; pgsql-admin

> Nigel J. Andrews wrote:
>
> On Wed, 24 Sep 2003, shreedhar wrote:
> 
> > I am using PHP4 as client side.
> 
> In that case what about this setting in php.ini:
> 
> memory_limit = 8M      ; Maximum amount of memory a script 
> may consume (8MB)

But before you change that, you may want to dive into the code that
consumes so much memory. Perhaps you just don't reuse/free enough memory
or have a bug in your code that causes it to loop too often.

But as said, it has nothing to do with postgres and is a pure php error
and you may want to continue your quest on the php mailing lists or
their pretty decent manual.

Regards,

Arjen

> > ----- Original Message -----
> > From: "Tom Lane" <tgl@sss.pgh.pa.us>
> > To: "shreedhar" <shreedhar@lucidindia.net>
> > Cc: "Postgre General" <pgsql-general@postgresql.org>; 
> "Postgre Admin" 
> > <pgsql-admin@postgresql.org>
> > Sent: Wednesday, September 24, 2003 10:44 AM
> > Subject: Re: [ADMIN] Fatal error: Allowed memory size of 
> 8388608 bytes 
> > exhausted
> > 
> > 
> > > "shreedhar" <shreedhar@lucidindia.net> writes:
> > > > If I try to insert I got the following error as
> > > > Fatal error: Allowed memory size of 8388608 bytes 
> exhausted (tried 
> > > > to allocate 79 bytes)
> > >
> > > There is not, and never has been, any error message of 
> that wording 
> > > in the PG backend.  You must be looking at some 
> client-side failure.  
> > > But since you didn't tell us what client-side code you're using, 
> > > it's hard to say more than that...
> 
> 
> ---------------------------(end of 
> broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
> 






^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: Fatal error: Allowed memory size of 8388608 bytes exhausted
  2003-09-24 04:37 Fatal error: Allowed memory size of 8388608 bytes exhausted shreedhar <shreedhar@lucidindia.net>
  2003-09-24 05:14 ` Re: Fatal error: Allowed memory size of 8388608 bytes exhausted Tom Lane <tgl@sss.pgh.pa.us>
  2003-09-24 06:05   ` Re: Fatal error: Allowed memory size of 8388608 bytes exhausted shreedhar <shreedhar@lucidindia.net>
@ 2003-09-24 06:52     ` maillist <maillist@tnss.com>
  2 siblings, 0 replies; 7+ messages in thread

From: maillist @ 2003-09-24 06:52 UTC (permalink / raw)
  To: shreedhar <shreedhar@lucidindia.net>; pgsql-admin

shreedhar wrote:
> 
> I am using PHP4 as client side.
> 
[snip]
> Subject: Re: [ADMIN] Fatal error: Allowed memory size of 8388608 bytes
> exhausted
> 
this is a php appache message. either
A) you have a phpscript that allocates memory in a infinate loop
B) your php script has become so big, or its data has become so big to
exceed the default 8 meg provided by apache
php.ini, or apache php.ini
php_value memory_limit  16M

on apache 2.x I wasn't able to use the M, I had to use 16000000

I usualy try google searchs on error message before I assume they are
one pice of software or another, you are currently using 3 apache, php,
postgresql

-- 
Arno Karner aka Behind the Muffs
West 7th St., St. Paul aka smell, Minn
http://tnss.com/noise_stink



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: [GENERAL] Fatal error: Allowed memory size of 8388608
  2003-09-24 04:37 Fatal error: Allowed memory size of 8388608 bytes exhausted shreedhar <shreedhar@lucidindia.net>
  2003-09-24 05:14 ` Re: Fatal error: Allowed memory size of 8388608 bytes exhausted Tom Lane <tgl@sss.pgh.pa.us>
  2003-09-24 06:05   ` Re: Fatal error: Allowed memory size of 8388608 bytes exhausted shreedhar <shreedhar@lucidindia.net>
@ 2003-09-24 14:11     ` scott.marlowe <scott.marlowe@ihs.com>
  2 siblings, 0 replies; 7+ messages in thread

From: scott.marlowe @ 2003-09-24 14:11 UTC (permalink / raw)
  To: shreedhar <shreedhar@lucidindia.net>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; Postgre General <pgsql-general@postgresql.org>; pgsql-admin

Look for the limit in the php.ini file

On Wed, 24 Sep 2003, shreedhar wrote:

> I am using PHP4 as client side.
> 
> ----- Original Message -----
> From: "Tom Lane" <tgl@sss.pgh.pa.us>
> To: "shreedhar" <shreedhar@lucidindia.net>
> Cc: "Postgre General" <pgsql-general@postgresql.org>; "Postgre Admin"
> <pgsql-admin@postgresql.org>
> Sent: Wednesday, September 24, 2003 10:44 AM
> Subject: Re: [ADMIN] Fatal error: Allowed memory size of 8388608 bytes
> exhausted
> 
> 
> > "shreedhar" <shreedhar@lucidindia.net> writes:
> > > If I try to insert I got the following error as
> > > Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
> > > allocate 79 bytes)
> >
> > There is not, and never has been, any error message of that wording in
> > the PG backend.  You must be looking at some client-side failure.  But
> > since you didn't tell us what client-side code you're using, it's hard
> > to say more than that...
> >
> > regards, tom lane
> >
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> 




^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2003-09-24 14:11 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-09-24 04:37 Fatal error: Allowed memory size of 8388608 bytes exhausted shreedhar <shreedhar@lucidindia.net>
2003-09-24 05:14 ` Tom Lane <tgl@sss.pgh.pa.us>
2003-09-24 06:05   ` shreedhar <shreedhar@lucidindia.net>
2003-09-24 06:32     ` Re: [GENERAL] Fatal error: Allowed memory size of 8388608 Nigel J. Andrews <nandrews@investsystems.co.uk>
2003-09-24 09:52       ` Re: [GENERAL] Fatal error: Allowed memory size of 8388608 Arjen van der Meijden <acmmailing@vulcanus.its.tudelft.nl>
2003-09-24 06:52     ` maillist <maillist@tnss.com>
2003-09-24 14:11     ` Re: [GENERAL] Fatal error: Allowed memory size of 8388608 scott.marlowe <scott.marlowe@ihs.com>

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