OpenCPU RAM memory usage scheme

Please explain how memory is used in OpenCPU.
When a new task is created, memory for its stack is allocated from 100KB static memory or from 500KB dynamic memory?

It will be allocated in 500 KB dynamic memory. User 100KB static memory will be fixed (Because its defined in linker script file) and it will allocate dynamiccaly