Decrease memory usage for loading of relations. refs #11910
Merge pull request #15 from picturae/11910v2

Decrease memory usage for loading of relations. refs #11910