Is there a possibility that this is somehow related to my dual core processor ?My gut says no, but I don't have a dual core to with which to verify my gut one way or another.
I've seen that if one has a single core, then one can avoid many race conditions because only one thread ever runs at a time. I've seen several cases of code that works great "forever" on a single-core system but gets confused when run on a multi-processor or multi-core system. Losing track of resources and thus leaking memory is certainly a possible outcome of such race conditions.
It isn't terribly hard to test such either, just bind the process to a single processor / core and see if the memory leak goes away.
The leak being that dramatic vs. not at all is a rather stark difference to explain with a race condition, however, so a configuration difference seems more likely.
- tye
In reply to Re^8: memory leaks with threads (race of 1)
by tye
in thread memory leaks with threads
by misc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |