I have setup Zend_Db_Table_Abstract so it uses metadata cache and then to see how much storage xhprof uses is.
Use 7 calls of 34 calls from _setupMetadata to Zend_Cache_Core :: load, most of which are being used by calling uncertainty.
The configuration for metadata cache is:
resources.cachemanager.db_metadata.frontend.name = core resources cachemanager.db_metadata.frontend.options.automatic_serialization = true resources.cachemanager .db_metadata.frontend.options.lifetime = null resources.cachemanager.db_metadata.backend.name = file resources Cachemanager.db_metadata.backend.options.cache_dir = APPLICATION_PATH "/../data/cache/db_metadata" Is this a common issue or am I forgetting something?
Since you are serial in the object, it takes a lot of memory, especially Zend_Db_ * objects.
We had the same problem here and we ended up making you our own cache system.
What you can do, all unnecessary ivar from sleep / Zend_Db_Table_Row_Abstract but you have to ensure that the class does not break irreversible.
Good luck. :)
Comments
Post a Comment