Huge literals do occur in programmatically generated source code. I'm working on a project now where I generate C source code with large, static tables. Paraphs this is not a common scenario for Swift's target use cases.
It might have just been a few kb of text but I couldn't compile even with 16gb ram