RAM exists to be utilized.
It's not a memory leak if it's intentional.
I will be using Visual Basic ConsoleApp for this thrilling demonstration.
I know how it's everyone's favorite programming language, and not something like C++, ew.
This will generate 10,000,000 lines in 2 seconds, averaging 5,000,000 lines/second.