osproc: increase stack size from 8k to 64k
This commit is contained in:
parent
1f376d8594
commit
95eb2b88e6
1 changed files with 1 additions and 1 deletions
|
|
@ -750,7 +750,7 @@ elif not defined(useNimRtl):
|
||||||
var dataCopy = data
|
var dataCopy = data
|
||||||
|
|
||||||
if defined(useClone):
|
if defined(useClone):
|
||||||
const stackSize = 8096
|
const stackSize = 65536
|
||||||
let stackEnd = cast[clong](alloc(stackSize))
|
let stackEnd = cast[clong](alloc(stackSize))
|
||||||
let stack = cast[pointer](stackEnd + stackSize)
|
let stack = cast[pointer](stackEnd + stackSize)
|
||||||
let fn: pointer = startProcessAfterFork
|
let fn: pointer = startProcessAfterFork
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue