loadSubtreeFromXmlBuffer reported an error

The memoryLimit only has an effect for SC streaming, so it won’t help with loading scs files. Unfortunately, if the content of the scs file is too large overall to fit into memory, there is not much you can do if you can’t switch to streaming, though you should look at my previous post here for some general tips & tricks.

Switching to SC streaming or even server-side rendering might be your best bet in this situation, if at all possible.