Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M252KG: Fix kvstore-static_tests failing with OOM #11183

Merged
merged 1 commit into from Aug 20, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion features/storage/TESTS/kvstore/static_tests/main.cpp
Expand Up @@ -34,7 +34,8 @@ static const size_t buffer_size = 20;
static const int num_of_threads = 3;
static const char num_of_keys = 3;

static const int heap_alloc_threshold_size = 4096;
/* Forked 3 threads plus misc, so minimum (4 * OS_STACK_SIZE) heap are required. */
static const int heap_alloc_threshold_size = 4 * OS_STACK_SIZE;

static const char *keys[] = {"key1", "key2", "key3"};

Expand Down