For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > April 2006 > Re: [PEAR] pear::HTTP_Request and pear::Net_Socket









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] pear::HTTP_Request and pear::Net_Socket
Ryan Escarez

2006-04-21, 8:01 am

On 4/18/06, Justin Patrin <papercrane@gmail.com> wrote:
> On 4/17/06, Ryan Escarez <ryan.escarez@gmail.com> wrote:
ry[color=darkred]
ter[color=darkred]
bytes)[color=darkred]
d[color=darkred]
it[color=darkred]
y[color=darkred]
>
> It could be. It could also be that the socket library in PHP has a
> memory leak. Perhaps try a different/newer version of PHP?
>
> --
> Justin Patrin
>


Hi Justin,

I tried your suggested workaround and it ends me up on cheating the
PHP on memory limit of per script run. I just did an offset and
max_rows per script run and once the batch is done I just summon
another one to continue the processing... and so on... This technique
is just a temporary until I haven't find a good one to solve the
issues.


Thanks again Justin!



--
Ryan Escarez
CEBB F1E4 1E39 EC48 F05D 6B72 9C11 DD88 5E39 E471
$ gpg --keyserver pgp.mit.edu --recv-keys 0x5E39E471
main(k){float i,j,r,x,y=3D-16;while(puts(""),y++<15)
for(x=3D0;x++<84;putchar(" .:-;!/> )|&IH%*#"[k&15]))
for(i=3Dk=3Dr=3D0;j=3Dr*r-i*i-2+x/25,i=3D2*r*i+y/10,j*j+i*i<11&&k++<111;r=
=3Dj);}
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com