Re: [PHP] Odd PHP memory issue

2006-09-18 Thread Richard Lynch
On Sat, September 16, 2006 10:35 am, Matthew H. North wrote: So you are just visiting the nodes, and not doing anything with them? We're appending certain fields to put together a total result. Be very very very careful here... If you throw enough strings around, and append things enough

Re: [PHP] Odd PHP memory issue

2006-09-16 Thread Matthew H. North
On 9/15/06, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, September 15, 2006 10:42 am, Matthew H. North wrote: We're developing a web application that involves traversal of a hierarchical database structure (MySQL, PEAR::DB, and PEAR::DB::DataObject). Currently that traversal is done

[PHP] Odd PHP memory issue

2006-09-15 Thread Matthew H. North
Hello All, I've been struggling with a rather obscure PHP memory issue for the last few days. Here's my setup: FreeBSD 5.5 Apache2.0, PHP 5.1.6, and MySQL 4.1.x compiled from scratch (that is, we're not using FreeBSD ports) PHP is compiled with --enable-memory-limit and the limit is set to 8MB

Re: [PHP] Odd PHP memory issue

2006-09-15 Thread Michael B Allen
On Fri, 15 Sep 2006 08:42:26 -0700 Matthew H. North [EMAIL PROTECTED] wrote: 6) Resources (think database resources) are automatically freed by garbage collection when there are no more references to them Resources can be persistent. Try traversing a small tree and print memory usage after

Re: [PHP] Odd PHP memory issue

2006-09-15 Thread Richard Lynch
On Fri, September 15, 2006 10:42 am, Matthew H. North wrote: We're developing a web application that involves traversal of a hierarchical database structure (MySQL, PEAR::DB, and PEAR::DB::DataObject). Currently that traversal is done recursively, and involves visiting thousands of nodes in