#19269 [NEW]: PEAR.php - memory eating bug
| From: | wolfram at kriesing dot de | Date: | Fri, 06 Sep 2002 18:53:43 +0000 |
| Subject: | #19269 [NEW]: PEAR.php - memory eating bug | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-9003@lists.php.net to get a copy of this message | ||
From: wolfram@kriesing.de
Operating system: Any
PHP version: 4CVS-2002-09-06
PHP Bug Type: PEAR related
Bug description: PEAR.php - memory eating bug
i am working on a big import script and just for fun i checked the size of
$GLOBALS on every turn, and i realized it grew constantly, i found out
that
pushErrorHandling
pushes 2 elements on the array _PEAR_error_handler_stack, but
popErrorHandling
pop's only one off the array, so it grows on every use!
and since those are used in DB/mysql.php and File/CSV.php my memory limit
comes closer with every run through the while-loop
--
Edit bug report at http://bugs.php.net/?id=19269&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19269&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19269&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19269&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19269&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19269&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19269&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19269&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19269&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19269&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19269&r=globals