Community
cancel
Showing results for 
Search instead for 
Did you mean: 
mtrekker
Beginner
141 Views

Dynamic replacement of memory allocation with VS2019 (vcruntime140.dll)

The documentation says that Visual C++ runtime can be dynamically replaced by OneTBB memory allocators. This seems to be true only for standard malloc/free.

Is there any plan to support operators new/delete when using VS2019 ?

0 Kudos
3 Replies
GouthamK_Intel
Moderator
108 Views

Hi,

Thanks for reaching out to us!

We are forwarding this thread to the concerned internal team, who will guide you further.

Have a Good day!


Thanks & Regards

Goutham


Mariya_P_Intel
Moderator
93 Views

oneTBB documentation says that the following dynamic memory functions are replaced:

  • Standard C library functions: malloc, calloc, realloc, free
  • Replaceable global C++ operators new and delete
  • Microsoft* C run-time library functions: _msize, _aligned_malloc, _aligned_realloc, _aligned_free, _aligned_msize

If you have some difficulties/errors using oneTBB memory allocation, then please provide us the code reproducer.

Mariya_P_Intel
Moderator
40 Views

@mtrekker, there was no feedback from you for more than a week. I assume that the above comment helped you. We are discontinuing monitoring this thread. Please raise a new thread in case of any further issues.

Thanks, Mariya