My backend uses admin generator.
I have a function that generates cache files for whole backend
application in following way..
In essence it calls for each module it finds in apps/myapp/modules
sfConfigCache::getInstance()->import(sfConfig::get('sf_app_module_dir_name').'/'.$module_name.'/'.sfConfig::get('sf_app_module_config_dir_name').'/generator.yml',
true, true);
This means that for each module for which the cache was not generated
previously it will be generated.
It works well but I have a big problem with memory consumption, it is
probably about importing so many modules and generating their cache
files. We have a lot of modules nad memory usage goes up over 512MB when
the cache is cleared. This is usually not tolerable and my sysadmin is
allready complaining.
Do you have any suggestions about how to aviod this ?
Do you think there could be a memory leak somewhere in the process of
cache generation?
best regards
--
Haris Zukanovic
CEO
Software development and research
International Business Development, SOFTING ltd.
office +387 36 318 339
GSM +387 61 839 069
http://www.eu-softing.com
CONFIDENTIALITY NOTICE
This e-mail and any attached files, sent by a company e - mail system, contains
company confidential and/or privileged information and is intended only for the
person or entity to which it is addressed and only for the purposes therein set
forth. If you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure, distribution or other use of, or taking of
any action in reliance upon, the material in this e-mail by persons or entities
other than the intended recipient is strictly forbidden.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---