I am using highlight to preview on macos mojave. Accidentally I've try to preview 4GB xml file (not intentionally) and macos nearly collapsed, used 14GB of memory for highlight process. Maybe there should be some reasonable limit for max file to preview.
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information