There are a number of issues (see subtasks) when working with huge (> 2GB) files.
NXP-9337 JMimeMagic may consume all memory
NXP-9285 Check that DAM Import Document Set can import files > 2GB