[PHP] Out of Memory error

2007-08-23 Thread Naz Gassiep
I'm getting out of memory errors in my image handling script, I *think* its because I'm handling images that are too large to fit in memory, but I thought I'd check before just upping the setting to 32mb. It is currently set to 16mb and I am working with a 2048x1536 image. Is it possible that

Re: [PHP] Out of Memory error

2007-08-23 Thread Robert Cummings
On Fri, 2007-08-24 at 01:21 +1000, Naz Gassiep wrote: I'm getting out of memory errors in my image handling script, I *think* its because I'm handling images that are too large to fit in memory, but I thought I'd check before just upping the setting to 32mb. It is currently set to 16mb and

Re: [PHP] Out of Memory error

2007-08-23 Thread Wouter van Vliet / Interpotential
I've got a followup question to this. Whenever you're doing something that takes too much memory, having a file uploaded that's bigger than max upload size (actually, not sure if that applies but I think it does) or when your script is taking too long to execute it just dies with a very unfriendly

Re: [PHP] Out of Memory error

2007-08-23 Thread Robert Cummings
Check the filesize before you attempt to load it. For uploads you can set maximum allowed uploads... can't remember if that is sufficient to catch the problem before it becomes a fatal error. Cheers, Rob. On Thu, 2007-08-23 at 17:35 +0200, Wouter van Vliet / Interpotential wrote: I've got a

RE: [PHP] Out of memory error message

2002-04-23 Thread Mullin, Reginald
: [PHP] Out of memory error message Chris, Thanks for your feedback. Note: The ItemNumber is the Primary key for the Item table and the Foreign key for the Inventory table. Also, I'm only selecting a limited number of fields in the MSSQL query string. P.S.: If it were a PHP/MSSQL error

RE: [PHP] Out of memory error message

2002-04-22 Thread Mullin, Reginald
message as well? O From Now 'Till Then, \-Reginald Alex Mullin /\ 212-894-1690 -Original Message- From: Chris Hewitt [SMTP:[EMAIL PROTECTED]] Sent: Saturday, April 20, 2002 7:10 AM To: Mullin, Reginald Subject: Re: [PHP] Out of memory error message Reginald

[PHP] Out of memory error message

2002-04-19 Thread Mullin, Reginald
Hi Guys, Does anyone know what the following error message is and how I can go about solving it? ***ERROR MSG*** Out of memory during large request for 2147487744 bytes, total sbrk() is 1459608 bytes. This error message gets written to Apache's error logs every other time I execute my MSSQL