Have you used the frontend dev controller's toolbar to observe the
memory usage of different features of your site? Look for the requests
that use the most memory. Once a request uses, say, 250mb of memory,
Apache is going to stay that size, it reuses that memory but it
doesn't give it back to the OS.

Short term workaround: drastically dial back the number of requests
served by an Apache instance before it is replaced by a new one (easy
to do in httpd.conf). If this is caused by an occasional thing, not
something you do regularly, then that is a big win.

On Oct 26, 12:56 pm, charline <[email protected]> wrote:
> Hi,
>
> I have a memory problem on a server running Symony 1.2.7 with php
> 5.2.11, Apache 2.2.3
> The application is mainly an admin-generator, I added 1 function that
> create some csv files and 1 that create csv+zip
>
> Apache processes are using a lot of memory (200MB + each)
> Server admin said the issue is that the dataset being requested and
> held open by Apache is very large, a trace of the memory consumption
> for one of the processes reveals that 'anonymous' data is being held
> in memory.
> this reveals a problem with the code of my site or the dataset being
> requested from my MySQL database.
>
> I installed xdebug and following the values of the variable, I noticed
> that $this->dispatcher and $this->configuration contain 
> themselveshttp://forum.symfony-project.org/index.php/fa/1301/0/
> Is that normal ?
> Could it be the source of my problem ?
>
> Thanks for any help
>
> Charline.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to