Re: [symfony-users] Memory usage...

2010-03-11 Thread Gareth McCumskey
First of all ensure that you aren't benchmarking memory usage in the
dev environment as it adds a ton of extra debug/log/etc information
into memory.

Secondly, look at your use of hydration elements in the ORM. I have
never used Doctrine, but we have switched a number of our queries that
return large datasets from a doSelect call (which creates an array of
objects related to each returned result) to a doSelectRS/doSelectStmt
(depending on propel version) which is just a single object of
resultsets.

On Thu, Mar 11, 2010 at 2:37 AM, Bruno Reis  wrote:
> Hi all... how much memory a normal sf + doctrine thread uses?
>
> We are having serious problems here with an application. I seems like it´s
> leaking memory, we updated php to 5.3 but had no success at all. Apache
> threads start with 16 MB and soon get to 50MB.
>
> Does anyone know what might be happening?
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>



-- 
Gareth McCumskey
http://garethmccumskey.blogspot.com
twitter: @garethmcc

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Memory usage...

2010-03-10 Thread Bruno Reis
Hi all... how much memory a normal sf + doctrine thread uses?

We are having serious problems here with an application. I seems like it´s
leaking memory, we updated php to 5.3 but had no success at all. Apache
threads start with 16 MB and soon get to 50MB.

Does anyone know what might be happening?

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en