I exported all my objects with the tree structure in the old pimcore, and try to import them to Pimcore 5.
All objects are stored in an array. I used Recursion to re-import them.
However, I would not be able to use Pimcore:collectGarbage. If I call this function, all cache are unset, and objects on different Recursion layers can not be saved.
Is there any way I can remove only one object’s cache (collect one object’s garbage)?