From 3147cd75ca5284c3341c4a31c71742cefe0593b4 Mon Sep 17 00:00:00 2001 From: Maas-Maarten Zeeman Date: Tue, 25 Jan 2022 21:40:34 +0100 Subject: [PATCH] Updated the comment regarding the stack size --- c_src/esqlite3_nif.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/c_src/esqlite3_nif.c b/c_src/esqlite3_nif.c index d849ec0..b120f36 100644 --- a/c_src/esqlite3_nif.c +++ b/c_src/esqlite3_nif.c @@ -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 - * can be too small for complex queries. Linux and MacOS uses 8Mb, which - * is a bit too large, since the largest query is about 1Mb in size. The - * stack size depends on that. A value of 3Mb is about right. + * can be too small for complex queries. Linux and MacOS uses a stack of about + * 8Mb, which is a bit too large, since the largest sqlite query is about 1Mb + * in size. The stack size depends on that. A value of 3Mb is about right. */ conn->opts->suggested_stack_size = 3072;