diff options
author | Keith Bostic <keith@wiredtiger.com> | 2012-03-21 19:25:15 +0000 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2012-03-21 19:25:15 +0000 |
commit | d346eade1ec34a6c09b95317138211cf966a945b (patch) | |
tree | dc8ee2ca87b10a63104f32c4e507d23b9e64229b /examples | |
parent | 966b216ee8d9d8dab52b726e66673ffa71d861cb (diff) | |
download | mongo-d346eade1ec34a6c09b95317138211cf966a945b.tar.gz |
Add a section on replacing the default system memory allocator to the
tuning page.
An example setting the cache to 10MB isn't useful, crank the example
to 500MB.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/c/ex_config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/c/ex_config.c b/examples/c/ex_config.c index 2b7f8d5d09f..4f3d109abde 100644 --- a/examples/c/ex_config.c +++ b/examples/c/ex_config.c @@ -46,7 +46,7 @@ int main(void) /*! [configure cache size] */ if ((ret = wiredtiger_open(home, NULL, - "create,cache_size=10M", &conn)) != 0) + "create,cache_size=500M", &conn)) != 0) fprintf(stderr, "Error connecting to %s: %s\n", home, wiredtiger_strerror(ret)); /*! [configure cache size] */ |