Shota Gedenidze wrote:
Php and apache memory problem.

I have apache and php, recently added APC module to php, and after
that each apache process consumes 30-100 mb of resident memory.
Operating System is Linux.
Does anybody have Idea how to optimize php to consume less memory?

ini_set('memory_limit', '32M');

fix what it complains about when you view your site/application/whatever and says you're using too much memory.

There's no hard & fast rule here - it's all down to time, patience and lots of effort.

You could also use xdebug to profile your app and see where to start.

Postgresql & php tutorials

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to