[TECH SUPPORT] LPS-46754 OutOfMemoryError when documentum FileEntry is exported

Hi Máté,

LPS-46754 is the main issue, the others are on this branch because they depend on each other.

LPS-46797 is being reviewed by Dani, I have cherry picked on this branch to make the other changes testable. It is not necessary to forward this LPS.

Please review my changes.

Thanks,
Ákos