Increase default stack size

fixes #6588
This commit is contained in:
Gunnar Beutner 2014-06-27 08:18:32 +02:00
parent ffa5f23fbe
commit 62896cb9a5
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ void Application::SetResourceLimits(void)
} }
if (set_stack_rlimit) { if (set_stack_rlimit) {
rl.rlim_cur = 256 * 1024; rl.rlim_cur = 1024 * 1024;
rl.rlim_max = rl.rlim_cur; rl.rlim_max = rl.rlim_cur;
if (setrlimit(RLIMIT_STACK, &rl) < 0) if (setrlimit(RLIMIT_STACK, &rl) < 0)