Re: PhpDoc bombs

From: Date: Fri, 01 Apr 2005 16:29:36 +0000
Subject: Re: PhpDoc bombs
References: 1 2 3 4 5 6  Groups: php.pear.dev php.pear.dev 
Request: Send a blank email to pear-dev+get-37045@lists.php.net to get a copy of this message
Greg Beaver wrote:
Tomas V.V.Cox wrote:
Greg Beaver wrote:
Tomas V.V.Cox wrote:
Joshua Eichorn wrote:
Joe Stump wrote:
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 158 bytes) in /usr/share/php/PhpDocumentor/phpDocumentor/ParserDescCleanup.inc on line 205 Anyone seen this? Any ideas? It bombs on a file that is documented properly from what I can tell. --Joe -- Joseph C. Stump joe@joestump.net http://www.joestump.net
Yeah you hit the memory limit and php stoped the script.
256Mbs? How much mem does it need?
depends on the project size
Was playing a couple of hours with PHPDocumentor, and wrote a new descriptions storage that uses disc instead of mem. Parsing PHPDocumentor or MDB, takes almost the same time (off course spending much more IO resources) but only uses arround 20Mb, independly of the proyect size. http://vulcanonet.com/soft/experiments/php_documentor.patch What do you think?
I think it's not quite robust enough, I keep getting a fatal error after applying the patch. Greg
$ grep php_documentor.patch /var/log/httpd/access_log | cut -f1 -d" " | sort -u | wc -l 18 In case you want to know how much interest there is in such feature :-) With love, Cox

« previous php.pear.dev (#37045) next »