1
vote
1answer
530 views

Why a 200 MB text file overloads 4gB ram

I wrote a simple program in c++ that does some calculations, outputs a number to a textfile, and repeats. Several million times. The final text file was around 215 megabytes, yet when I opened it, ...