Re: Windows and Memory Limit of -1

From: Date: Wed, 13 Jun 2007 16:14:25 +0000
Subject: Re: Windows and Memory Limit of -1
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-30156@lists.php.net to get a copy of this message
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?

« previous php.internals (#30156) next »