re: Tree- memory error

From: Date: Wed, 22 Mar 2006 09:38:06 +0000
Subject: re: Tree- memory error
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-23379@lists.php.net to get a copy of this message
-Hi all, I have a program which is using Pear Tree $tree = Tree::setupMemory( 'DBsimple' , // use the simple DB schema 'mysql://id:pw@localhost/ds', // the DSN $options); $tree->setup(); It used to be working fine however now the table volume has increased and I hit this error when the 'setup' command is run. Fatal error: Allowed memory size of 134217728 bytes exhausted at (null):0 (tried to allocate 35 bytes) in /usr/share/pear/Tree/Memory.php on line 615 My initial memory is set to 128MB. Increasing that does not help I understand I may have to change the method and not use Memory. SInce the data and tables is already existing - not sure how to do this. Pls help and advise on solution thanks ! Appreciate it regards daesy

« previous php.pear.general (#23379) next »