We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a83f01e + a49203b commit ea1f395Copy full SHA for ea1f395
driver/others/memory.c
@@ -497,7 +497,7 @@ static const int allocation_block_size = BUFFER_SIZE + sizeof(struct alloc_t);
497
#if defined(SMP) && !defined(USE_OPENMP)
498
/* This is the number of threads than can be spawned by the server, which is the
499
server plus the number of threads in the thread pool */
500
-# define MAX_ALLOCATING_THREADS MAX_CPU_NUMBER * 2 * MAX_PARALLEL_NUMBER +1
+# define MAX_ALLOCATING_THREADS MAX_CPU_NUMBER * 2 * MAX_PARALLEL_NUMBER * 2
501
static int next_memory_table_pos = 0;
502
# if defined(HAS_COMPILER_TLS)
503
/* Use compiler generated thread-local-storage */
0 commit comments