diff --git a/circuits/cpp/barretenberg/cpp/src/barretenberg/bb/main.cpp b/circuits/cpp/barretenberg/cpp/src/barretenberg/bb/main.cpp index 9b3764a1b92..506341e1849 100644 --- a/circuits/cpp/barretenberg/cpp/src/barretenberg/bb/main.cpp +++ b/circuits/cpp/barretenberg/cpp/src/barretenberg/bb/main.cpp @@ -11,8 +11,11 @@ #include using namespace barretenberg; - -uint32_t MAX_CIRCUIT_SIZE = 1 << 19; +// The maximum size that we can do in the browser is 2^19 +// based on memory constraints for UltraPlonk. +// However, since this will be ran natively, we can increase the +// size. +uint32_t MAX_CIRCUIT_SIZE = 1 << 23; std::string CRS_PATH = "./crs"; bool verbose = false;