On Wed, June 13, 2007 7:09 am, Richard Quadling wrote:
> Hi.
>
> Are there any special concerns for setting memory_limit to -1 in
> PHP.INI on Windows (using Sambar Server, not IIS/Apache).
>
> I'm getting "Out of memory" errors recently. Memory is good.
> Admittedly the code is trying to add a 12MG file as an attachment
> (using htmlmimemail5 from phpguru.org).
>
> 5MG attachments are OK, but the 12MG isn't.
>
> The server is internal so the limit is not required.
>
> Confused.

Is this a production server which might literally be running out of
RAM?...  If so, not much can be done to fix that... :-v

Does the error actually say "out of memory" or "memory limit reached"?
 I *think* you get different error if you are triggering the
memory_limit than, say, really running out of RAM.

Also double-check phpinfo() to be sure your memory_limit setting is
what you think it is.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to