Hello. In my case, problem was be with orthogonalScrollingBehavior when collection has active heightAnchor.
I find two solutions:
Switch this property to default and use configuration.scrollDirection instead
Change heightAnchor to intrinsticContentSize of collection
Post
Replies
Boosts
Views
Activity
Autolayout engine has cache, I think it's reason for bad memory usage, but reusable cells in UITableView/UICollectionView allows autolayout engine clear extra cache