I have a multithread app that runs out of memory when my list of waiting requests is big, and when I fire too many threads simultaneously.
Though I am working on reducing the footprints of my threads, I would prefer a solution that would stop me from creating a new thread when it has not enough place to run
this means that I must know
1) for the threads I run what ressources they use in worstcase,
2) what free ressources I really have to work with.
does anyone have a clue about it?