Posts

Showing posts from February 26, 2019

“Error C1060: compiler is out of heap space” when trying to compile a 550x550 Vector made of 4 character...

Image
1 This program is designed to read an array/vector of strings (e.g. 0101) in a grid to show and solve maze's. It works when inputting a 20x20 array however receives "Error C1060: compiler is out of heap space" when trying to compile and run the 550x550 vector. I've added /Zm200 to the project properties along with increasing the heap commit size exponentially. I'm running x64 bit Windows 10 with 8GB RAM and using Visual Studio Professional 2017 // MazeBreaker.cpp : This file contains the 'main' function. Program execution begins && ends there. // #include "pch.h" #include <iostream> #include <vector> #include <string> #include <algorithm> using namespace std; //Creating Variables vector<vector<string>> ExampleMaze