[coroutine] Is there a max number of coroutines that can be created?
11 Jul
11 Jul
2:17 a.m.
New subject: [coroutine] Is there a max number of coroutines that can be created?
On Thu, Jul 10, 2014 at 4:57 PM, 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? Is it 32-bit or 64-bit? What compiler and version are you using? Are you building 32-bit or 64-bit?
3:59 a.m.
New subject: [coroutine] Is there a max number of coroutines that can be created?
In general it is limited by the memory available at your system (coroutines allocated memory an use it as stack). Another limitation can be the max. virtual memory size enforced in you environment (RLIMIT_AS, /etc/security/limits.conf etc.)
3792
Age (days ago)
3793
Last active (days ago)
2 comments
3 participants
participants (3)
-
José
-
Nat Goodspeed
-
Oliver Kowalke