Details
-
Bug
-
Resolution: Obsolete
-
Medium
-
4.0.5, 4.1.2
-
None
-
Operating System:
PHP Version: 5.2.6
Database and version:mysql 5.0.32
Browser (and version):
Description
Hi
Site has total 450000 nodes in tree and around 355000 content objects in eZ
Publish 4.0.0 out of the box.
In order to delete one sub tree with 210000 nodes and around 98000 objects.
I tried to remove it with
php ./bin/php/ezsubtreeremove.php --nodes-id=600 --ignore-trash -sezflow_site_admin
and it gives Fatal error.
Now again I tried to remove another sub tree which has just 489 nodes which
also gives fatal error
$
php ./bin/php/ezsubtreeremove.php --nodes-id=96000 --ignore-trash -sezflow_site_admin
Total child count: 488
Move to trash: false
Reverse related count: 137
Removing subtrees:
Node id: 96000
Node name: CoolObject
Child count: 488
Object node count: 1
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to
allocate 50 bytes) in /www/gv400/kernel/classes/ezpersistentobject.php on
line 96
Fatal error: eZ Publish did not finish its request
The execution of eZ Publish was abruptly ended, the debug output is present
below.
I have increased memory to 512 mb and still I get same error.
After this I tried to remove another sub tree with 17 nodes and it went fine.