Memory leak from TBB when did nothing but only new/delete a task_scheduler_init.

tommy_developer
Total Points:
70
Status Points:
20
Green Belt
July 6, 2009 3:58 AM PDT
Rate
 
#2 Reply to #1
Quoting - Raf Schietekat

What hardware/O.S./compiler, what TBB version, what memory allocator, did you redirect new/delete? How did you verify that it is indeed a leak, how big is it, and does it grow if you repeat the code? Why did you allocate it dynamically instead of on the stack and why do you explicitly call terminate()? Questions, questions... :-)


Windows/VC 9, TBB 2.1, it leaks even with one code line tbb::task_scheduler_init oScheduler(2). The leaked bytes varies with the number of threads which is the parameter passed to ctor of tbb::task_scheduler_init: 1 - 0 bytes, 2 - 384 bytes, 3 - 32 bytes,4 - 48 bytes, etc.

Intel Software Network Forums Statistics

8488 users have contributed to 31626 threads and 100713 posts to date.
In the past 24 hours, we have 36 new thread(s) 123 new posts(s), and 186 new user(s).

In the past 3 days, the most popular thread for everyone has been gemm(A,A,A) like possible? The most posts were made to gemm(A,A,A) like possible? The post with the most views is Dear Steve, excuse me for a d

Please welcome our newest member chat1983