Re: Still need help with some kind of memory leak in my php database program. General hints for php would help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mary Anderson wrote:
> Thanks for responding.
> 
> I hadn't realized memory_get_usage was available.  That will be an
> enormous help.
> 
> And I wasn't too clear in my note.  Actually, it did not surprise me
> that the loop crashed the test code.  I expected it to.  What does
> surprise me is that the test code works with one call to the data base,
> but the same logic in the application crashes the system.

<random guess> Maybe you're accidentally calling the same code multiple
times?

You can use xdebug to work out what code is called and where it's called
from.

See http://www.xdebug.org/

Extremely handy little tool that one :)

-- 
Postgresql & php tutorials
http://www.designmagick.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux