4 ms·
I don't see why not: create a process that just spawns a thousand threads that infinitely loop, but uses very little memory.
by saagarjha 8y ago
I don't see why not: create a process that just spawns a thousand threads that infinitely loop, but uses very little memory.
- irfanhamid 8y agoThat still is some memory. Threads don't run without consuming memory and some are prone to memory leaks. But, that's not the point here.
- saagarjha 8y agoIt's very little.