I don't think OOM is the problem. I watch the process in _top_. The machine has 96GB. The program crashes after 1 to 5 threads have run, and each thread uses < 1GB. In fact, when I use the full 48-thread threadpool, it takes 30 minutes to run out of real memory (because of fragmentation), while there is always plenty of virtual memory.
- Re: How to create, destroy, and recreate threads cdunn2001
- Re: How to create, destroy, and recreate threads Stefan_Salewski
- Re: How to create, destroy, and recreate threads Jehan
- Re: How to create, destroy, and recreate thre... cheatfate
- Re: How to create, destroy, and recreate ... cheatfate
- Re: How to create, destroy, and recr... cdunn2001
- Re: How to create, destroy, and ... cheatfate
- Re: How to create, destroy, and ... cdunn2001
- Re: How to create, destroy, and ... cdunn2001
- Re: How to create, destroy, and ... Araq
- Re: How to create, destroy, and ... cdunn2001
- Re: How to create, destroy, and ... cdunn2001
- Re: How to create, destroy, and ... Araq
- Re: How to create, destroy, and ... cdunn2001
- Re: How to create, destroy, and ... cdunn2001
- Re: How to create, destroy, and ... bpr
- Re: How to create, destroy, and ... cdunn2001
- Re: How to create, destroy, and ... bpr
- Re: How to create, destroy, and ... Araq
- Re: How to create, destroy, and ... bpr
- Re: How to create, destroy, and ... cdunn2001
