Index: update/common/scripts/updatecontentobjectname.php
===================================================================
--- update/common/scripts/updatecontentobjectname.php	(revision 17330)
+++ update/common/scripts/updatecontentobjectname.php	(working copy)
@@ -353,6 +353,11 @@
                 $percent = (float)( ($i*100.0) / $subTreeCount );
                 print( " " . $percent . "%" . $endl );
             }
+
+            // Memory clean-up
+            unset( $object );
+            unset( $class );
+            $GLOBALS['eZContentObjectDataMapCache'] = null;
         }
         $offset += $limit;
         $subTree =& $node->subTree( array( 'Offset' => $offset, 'Limit' => $limit,
