Re: Why does this script run out of memory?
| From: | Eric Butera | Date: | Fri, 28 Oct 2011 19:42:48 +0000 |
| Subject: | Re: Why does this script run out of memory? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-315515@lists.php.net to get a copy of this message | ||
On Fri, Oct 28, 2011 at 3:29 PM, Daniel Brown <danbrown@php.net> wrote:
> On Fri, Oct 28, 2011 at 13:25, Jim Long <php@umpquanet.com> wrote:
>>
>> Eric:
>>
>> Thanks for your reply.
>>
>> "process row here" is a comment. It doesn't do anything. The
>> script, exactly as shown, runs out of memory, exactly as shown.
>
> My response presumes that you're planning on placing something
> into this comment area, in which the memory will only further
> increase. If *presumed* should be replaced by *ASSumed* in this case,
> skip mysql_unbuffered_query() and go straight for mysql_num_rows().
> Do not pass GO. Do not collect $200.
>
> --
> </Daniel P. Brown>
> Network Infrastructure Manager
> http://www.php.net/
>
I was glad to learn what comments were.