php-windows Digest 12 Aug 2010 09:37:53 -0000 Issue 3854
Topics (messages 30305 through 30306):
memory
30305 by: samuel
30306 by: Pierre Joye
Administrivia:
To subscribe to the digest, e-mail:
php-windows-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-windows-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-wind...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
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.
So if you can give me your feeling.
Thank you
--- End Message ---
--- Begin Message ---
hi,
On Wed, Aug 11, 2010 at 5:33 PM, samuel <zoulil...@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
--- End Message ---