Re: [Boost-users] [coroutine] Is there a max number of coroutines that can be created?
11 Jul
11 Jul
3:47 p.m.
New subject: [coroutine] Is there a max number of coroutines that can be created?
On Fri, Jul 11, 2014 at 10:41 AM, José
I am creating a "lot" of coroutines in my code. When I create more than 32744 coroutines (for this example) the program ends with segmentation fault.
So, I would like to known if there is a limit number for active coroutines?
What operating system are you using? Ubuntu 13.10, kernel 3.11.0-18 Is it 32-bit or 64-bit? x86_64 What compiler and version are you using? I tried Boost 1.55 with g++ 4.8.1 and clang++ 3.2 Are you building 32-bit or 64-bit? 64-bit
Perhaps you could try the "segmented stacks" approach ("split stacks")? http://www.boost.org/doc/libs/1_55_0/libs/coroutine/doc/html/coroutine/stack...
3792
Age (days ago)
3792
Last active (days ago)
1 comments
2 participants
participants (2)
-
José
-
Nat Goodspeed