Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30156 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13614 invoked by uid 1010); 13 Jun 2007 16:14:33 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 13598 invoked from network); 13 Jun 2007 16:14:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Jun 2007 16:14:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain l-i-e.com from 67.139.134.202 cause and error) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:2314] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 94/D7-61713-4E710764 for ; Wed, 13 Jun 2007 12:14:31 -0400 Received: (qmail 86279 invoked by uid 98); 13 Jun 2007 16:14:26 -0000 Received: from 127.0.0.1 by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-2.01 (clamdscan: 0.88.7/3411. Clear:RC:1(127.0.0.1):. Processed in 0.069373 secs); 13 Jun 2007 16:14:26 -0000 Received: from localhost (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 13 Jun 2007 16:14:25 -0000 Received: from 216.230.84.67 (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Wed, 13 Jun 2007 11:14:25 -0500 (CDT) Message-ID: <35622.216.230.84.67.1181751265.squirrel@www.l-i-e.com> In-Reply-To: <10845a340706130509q676c6bdcmfece829b3bb4dd8e@mail.gmail.com> References: <10845a340706130509q676c6bdcmfece829b3bb4dd8e@mail.gmail.com> Date: Wed, 13 Jun 2007 11:14:25 -0500 (CDT) To: RQuadling@GoogleMail.com Cc: "php-dev" Reply-To: ceo@l-i-e.com User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] Windows and Memory Limit of -1 From: ceo@l-i-e.com ("Richard Lynch") 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?