E
Edward Diener
Is there an operating system limit to the number of threads in a process ? A
test program I was writing created approximately 105 threads for a process
( many unused because of some thread pool code ), and an out of memory error
occurred when an attempt was made to create more threads. Since I do not
believe that the application was using much memory compared to the nearly 1
GIG of total virtual memory, I assume that the out of memory exception had
to do with exceeding a thread creation limit for a single process.
test program I was writing created approximately 105 threads for a process
( many unused because of some thread pool code ), and an out of memory error
occurred when an attempt was made to create more threads. Since I do not
believe that the application was using much memory compared to the nearly 1
GIG of total virtual memory, I assume that the out of memory exception had
to do with exceeding a thread creation limit for a single process.