Updated the comment regarding the stack size

This commit is contained in:
Maas-Maarten Zeeman
2022-01-25 21:40:34 +01:00
parent 37b48af7e6
commit 3147cd75ca

View File

@@ -1027,9 +1027,9 @@ esqlite_start(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[])
} }
/* Configure a fixed sized stack, windows uses a default of 1Mb, which /* Configure a fixed sized stack, windows uses a default of 1Mb, which
* can be too small for complex queries. Linux and MacOS uses 8Mb, which * can be too small for complex queries. Linux and MacOS uses a stack of about
* is a bit too large, since the largest query is about 1Mb in size. The * 8Mb, which is a bit too large, since the largest sqlite query is about 1Mb
* stack size depends on that. A value of 3Mb is about right. * in size. The stack size depends on that. A value of 3Mb is about right.
*/ */
conn->opts->suggested_stack_size = 3072; conn->opts->suggested_stack_size = 3072;