Re: memory
| From: | samuel | Date: | Thu, 12 Aug 2010 09:42:37 +0000 |
| Subject: | Re: memory | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-30307@lists.php.net to get a copy of this message | ||
Ok,
thank you
2010/8/12 Pierre Joye <pierre.php@gmail.com>
> hi,
>
> On Wed, Aug 11, 2010 at 5:33 PM, samuel <zouliloua@gmail.com> wrote:
> > hello,
> > I'm upgrading my site and I have some question on memory.
> > I try to use Doctrine, models, and all this stuff.
> > By making some benchmark I noticed that a single request can take 4Mo of
> > memory.
> > Is that huge? Or is that acceptable in face of the beneficts of a good
> > architecture ?
> >
> > I read that the default configuration allow 128Mo so 4Mo can seem
> > ridiculous, but I am not sure.
>
> It is 128MB for everything, not only this single query.
>
> But yes, apps working with data sets usually need a lot of memory, so
> 4MB is rather small.
>
> Cheers,
> --
> Pierre
>
> @pierrejoye | http://blog.thepimp.net |
> http://www.libgd.org
>