|
|
|
|
|
by heavyset_go
2365 days ago
|
|
Each Linux thread has at least an 8MB virtual memory overhead. I just tested it, and was able to create one million coroutines in a few seconds and with a few hundred megabytes of overhead in Python. If I created just one thousand threads, it would take possibly 8 gigs of memory. |
|
> ...it would take possibly 8 gigs of memory.
No. Nothing is 'taken' when virtual memory is requested.