AnsweredAssumed Answered

Problem with delete big folder

Question asked by jmal on Nov 28, 2018
Latest reply on Dec 5, 2018 by francesco.fornasari



I'm using Alfresco Enterprise 5.2.3, and I want delete folder with 50.000 - 200.000 documents inside. 

I tried delete by public rest API:


And this is endless query. After few hours in server logs I saw Java heap space error. 

Then I wrote custom webscript which call deleteNode method from NodeService, effect was the same.


And my question is, how can I delete that folder without any errors and exception, and in a finite time?