[nycphp-talk] Memory Limit
Dan Horning
dan at dwc.to
Fri Jan 3 12:52:38 EST 2003
In this I'm wondering why you need more of a memory path for php..
I.e... What's the purpose.. Maybe some streamlining of the programs
you're using could be in order???
But in case it was missed ...
Change the variable in php.ini
And restart php (or apache if it's complied into it)
>From the Desk of:
Dan Horning Owner
Dsoundmn's Web Creations
Dsoundmn's Web Creations
PO Box 109 Clifton Park, NY 12065-0109
Email: info at dwc.to
------
Online on
AIM - dsoundmn (or dsoundmn1 for emergencies)
ICQ - 14308614
MSN - dan at dwc.to
YIM - dsoundmn
-----Original Message-----
From: Sterling Hughes [mailto:sterling at bumblebury.com]
Sent: Friday, January 03, 2003 12:39 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] Memory Limit
> Hi,
>
> There are two simple ways to have more free memory for your scripts :
>
> 1- You can increase memory limit from 8 Mb to any amount in php.ini
> file.
> 2- You can use 'unset()' function to unset unused variables right
after you use them.
>
err, that should only be php 3 specific, php4's reference counting
mechanism releases all variables the second they are no longer
referenced in the script.
-Sterling
> I've been working on a log parser to parse almost 1Gb web server
> logfile everyday. Using 'unset()' helped me a lot.
>
>
>
> --- "Nunez, Eddy" <enunez at tiaa-cref.org> wrote:
> >
> > This is in reference to the standard memory limit for server PHP
> > scripts, which is 8MB.
> >
> > My question is...
> > is there any function to query available free space in the memory
> > pool?
> >
> > I have searched through www.php.net and found nothing useful.
> >
> > Thanks,
> > -EN
> >
> >
> > ********************************************************************
> > **
> > This message, including any attachments, contains confidential
information intended for a
> > specific individual and purpose, and is protected by law. If you
are not the intended
> > recipient, please contact sender immediately by reply e-mail and
destroy all copies. You are
> > hereby notified that any disclosure, copying, or distribution of
this message, or the taking of
> > any action based on it, is strictly prohibited.
> > TIAA-CREF
> >
**********************************************************************
> >
> >
> >
> >
> >
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
>
>
>
>
--- Unsubscribe at http://nyphp.org/list/ ---
More information about the talk
mailing list