Hey man,
Sorry for such a late response, The memory error is coming from renpy, now the load on renpy should be halved as rendering mechanism for videos has been re-worked. I personally didn't face this issue but again I don't have such a high end system to even try and figure out the real issue.