Hello,

I am having an issue with memory loss, hoping someone can point me in
the right direction.  I initially thought it was the image helper, but
that only partially fixed the issue.

Say I click on a link that brings up an article and that article is
pulled from a db.  I use this
$conditions = array('id' => $id)
$return = $this->Article->find('all', array('conditions' =>
$conditions))

The code works fine as far as populating the page with the same
article, the problem is that a memory loss of about 6K occurs, and the
system never recovers from it. So after a few times of clicking, the
site returns a not enough memory fatal error.

I should note that the same exact site runs on a different server with
less RAM (both VPS) and has no issues whatsoever.  We hired a server
admin that is blaming it on the datacenter, who is blaming it on the
server admin (not really blame, just saying it's not their fault).

This does not just happen with the articles, it happens with every
page you click on that requires a db connection.  On pages that do not
require it, there is a loss of about 4k and a quick recovery.

The 6K used to be about 10K, but I found 2x where I did not unset an
instance of an object and that helped a bit.

I am using 1.2RC2

If you experience memory loss/leakage, how do you track it to the
source?

Thanks for any direction.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to