From: Pierre Joye on 12 Aug 2010 05:37 hi, On Wed, Aug 11, 2010 at 5:33 PM, samuel <zouliloua(a)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
From: samuel on 12 Aug 2010 05:42 Ok, thank you 2010/8/12 Pierre Joye <pierre.php(a)gmail.com> > hi, > > On Wed, Aug 11, 2010 at 5:33 PM, samuel <zouliloua(a)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 >
|
Pages: 1 Prev: [PHP-WIN] memory Next: How to make FTS3 with SQLite3 and ICU work? |