Is there a way to read a large text file (~60MB) into memory at once (like a compiler flag to increase program memory limit) ? Currently, ofstream's open function throws a segmentation fault while trying to read this file.
ifstream fis;
fis.open("my_large_file.txt"); // Segfaults here
The file just consists of rows of the form
number_1<tabspace>number_2
i.e., two numbers separated by a tabspace.