Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30158 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17048 invoked by uid 1010); 13 Jun 2007 16:20:53 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 17033 invoked from network); 13 Jun 2007 16:20:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Jun 2007 16:20:53 -0000 Authentication-Results: pb1.pair.com header.from=rquadling@googlemail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=rquadling@googlemail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 66.249.82.232 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: rquadling@googlemail.com X-Host-Fingerprint: 66.249.82.232 wx-out-0506.google.com Linux 2.4/2.6 Received: from [66.249.82.232] ([66.249.82.232:29210] helo=wx-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 33/58-61713-26910764 for ; Wed, 13 Jun 2007 12:20:51 -0400 Received: by wx-out-0506.google.com with SMTP id i28so244864wxd for ; Wed, 13 Jun 2007 09:20:48 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NyKtIF5Gw45oXuwI69L+fCjj4ULypNcg2WJzkFo1QDwPWg2tns4NopIvxrlPC5sNCsl6FKETpUFN6LY1Kblx7NhVASyf9tCjOCxcNmRNG/i0IqIbiIrUSxCzP/evpuABnIHnnwhUaJQM5AqWtcl33tZgqUPNK531mztJA6sEke8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lJrJigojCyfSie3Emag/aFSDa9SO31Saw1LiHXijdzXDw4DnclSAuzl0UAURlIIHOAae14h91vzXjYJBsP1wUU0M8PfLdrtKJ8oNZX4dMI8B4X3JNFXRo31/KkQJwiebwNkJR0YzZ9XYvaweQiGxT7IkGM+vIwufyaJhSASCG+w= Received: by 10.90.74.1 with SMTP id w1mr580929aga.1181751648390; Wed, 13 Jun 2007 09:20:48 -0700 (PDT) Received: by 10.90.90.17 with HTTP; Wed, 13 Jun 2007 09:20:48 -0700 (PDT) Message-ID: <10845a340706130920x38c64537g1cc32bb70e43dd5a@mail.gmail.com> Date: Wed, 13 Jun 2007 17:20:48 +0100 Reply-To: RQuadling@GoogleMail.com To: ceo@l-i-e.com Cc: php-dev In-Reply-To: <35622.216.230.84.67.1181751265.squirrel@www.l-i-e.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <10845a340706130509q676c6bdcmfece829b3bb4dd8e@mail.gmail.com> <35622.216.230.84.67.1181751265.squirrel@www.l-i-e.com> Subject: Re: [PHP-DEV] Windows and Memory Limit of -1 From: rquadling@googlemail.com ("Richard Quadling") It's an intranet server. I rebooted and it is working. It IS saying "out of memory" [13-Jun-2007 11:38:51] PHP Fatal error: Out of memory (allocated 1572864) (tried to allocate 12729537 bytes) in C:\PHP\PHP5\Includes\htmlMimeMail5\htmlMimeMail5.php on line 940 [13-Jun-2007 11:40:02] PHP Fatal error: Out of memory (allocated 1572864) (tried to allocate 12728784 bytes) in C:\PHP\PHP5\Includes\htmlMimeMail5\htmlMimeMail5.php on line 940 [13-Jun-2007 11:42:04] PHP Fatal error: Out of memory (allocated 1572864) (tried to allocate 12735907 bytes) in C:\PHP\PHP5\Includes\htmlMimeMail5\htmlMimeMail5.php on line 940 and phpinfo() does show -1 for memory limit. I must admit it hadn't been rebooted for nearly 2 months. Wait and see time I think. On 13/06/07, Richard Lynch wrote: > > > 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? > > -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!"