in reply to When to use forks, when to use threads ...?
As far as your memory leak goes, there are ways to fix it, but you need to show some code. Usually it involves reusing threads.... don't detach them and expect them to go away.... threads must return or reach the end of their code block to be joined, or self-destruct if detached. Maybe your database connection isn't finishing completely, and the threads are not allowed to destruct.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: When to use forks, when to use threads ...?
by Krambambuli (Curate) on Sep 05, 2008 at 08:36 UTC | |
by zentara (Cardinal) on Sep 05, 2008 at 12:49 UTC |