@Gulliver As you have well said it, that file contains too many escape codes. And you are forcing the datatype to display them. This requires much more memory than what your system has. The datatype will properly display that file if you had enough RAM on your system.
Maybe the new datatype system could resolve this ? Especially code to use harddrive as memory temporarily - instead of forcing upgrade to user? it's not rocket science for a competent developer.