Here's a snippet of code:

while ($obj = mssql_fetch_object($result))
{
            $group = Doctrine::getTable('Group')->findOneByCompany_id($obj-
>company_code);
.
.
.
}

This loop, with about 3500 cycles, is using 1.5 gigs of memory.  The
first db connection is obviously mssql, running on Linux with the
FreeTDS driver.  The second db (used by Doctrine) is MySQL.  If I
comment out all the code in the while, the loop is lightning fast, of
course, and uses under 16 megs.  But enable that one line, and usage
spikes to the limit.

Any ideas what this could be?

--~--~---------~--~----~------------~-------~--~----~
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