diff --git a/src/input/input_buffer.cpp b/src/input/input_buffer.cpp index fbc31196..6e90952b 100644 --- a/src/input/input_buffer.cpp +++ b/src/input/input_buffer.cpp @@ -137,7 +137,7 @@ namespace Mist { if (!metaPages.count(0) || !metaPages[0].mapped){ char pageName[NAME_BUFFER_SIZE]; snprintf(pageName, NAME_BUFFER_SIZE, SHM_STREAM_INDEX, streamName.c_str()); - metaPages[0].init(pageName, 8 * 1024 * 1024, true); + metaPages[0].init(pageName, DEFAULT_META_PAGE_SIZE, true); metaPages[0].master = false; } myMeta.writeTo(metaPages[0].mapped); diff --git a/src/io.cpp b/src/io.cpp index 83595250..6021e62d 100644 --- a/src/io.cpp +++ b/src/io.cpp @@ -9,7 +9,7 @@ namespace Mist { //Open the page for the metadata char pageName[NAME_BUFFER_SIZE]; snprintf(pageName, NAME_BUFFER_SIZE, SHM_STREAM_INDEX, streamName.c_str()); - metaPages[0].init(pageName, 8 * 1024 * 1024, true); + metaPages[0].init(pageName, DEFAULT_META_PAGE_SIZE, true); //Make sure we don't delete it on accident metaPages[0].master = false;