memory

--001636e8ff9d3f669b048d8df922
Content-Type: text/plain; charset=UTF-8

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

--001636e8ff9d3f669b048d8df922--
Samuel [ Mi, 11 August 2010 17:33 ] [ ID #2045873 ]

Re: memory

hi,

On Wed, Aug 11, 2010 at 5:33 PM, samuel <zouliloua [at] 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

[at] pierrejoye | http://blog.thepimp.net | http://www.libgd.org

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Pierre Joye [ Do, 12 August 2010 11:37 ] [ ID #2045959 ]

Re: memory

--0016364ed12cf26891048d9d30b0
Content-Type: text/plain; charset=UTF-8

Ok,
thank you

2010/8/12 Pierre Joye <pierre.php [at] gmail.com>

> hi,
>
> On Wed, Aug 11, 2010 at 5:33 PM, samuel <zouliloua [at] 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
>
> [at] pierrejoye | http://blog.thepimp.net | http://www.libgd.org
>

--0016364ed12cf26891048d9d30b0--
Samuel [ Do, 12 August 2010 11:42 ] [ ID #2045960 ]
PHP » gmane.comp.php.windows » memory

Vorheriges Thema: How to make FTS3 with SQLite3 and ICU work?
Nächstes Thema: Unable to connect to mysql database