#009300: Memory issue with the updatecontentobjectname.php script due to caching
Description:
The script calls a function which calls another function ( eZContentObject->fetchDataMap ) which caches its result in "$GLOBALS['eZContentObjectDataMapCache']". Because of this the script will use a lot of memory on large databases.
Setting the global variable to null each time solves the problem, see patch.
Environment:
Operating System: linux
PHP Version: 4.4.3 4.4.4
Database and version: MySQL 4.1
Steps to Reproduce:
Run the updatecontentobjectname.php ( update/common/scripts/updatecontentobjectname.php ) on a database with 1000+ objects, and take a look at the memory usage.