If you need an actual file to test how software renders large data, there are existing public samples: Large PDF: A widely used 2GB sample PDF is hosted by Apryse (formerly PDFTron)
Here is how you can instantly create a precise 2GB file on your system, followed by the structural guidelines for a proper academic essay. 🛠️ How to Generate a 2GB Sample File 2gb sample file
If you need a 2GB file for testing purposes (e.g., testing upload speeds or disk I/O), copying the text above manually will take forever. If you need an actual file to test