- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have a DLL which has benefitted greatly from linking against tbbmalloc_proxy. When using this library from python, I understand that my DLL and by extension tbbmalloc_proxy.dll, are not loaded until I import the python module. Is it possible to force TBB's memory allocation replacement to take place when the DLL is loaded under these circumstances? I am developing on Windows and I would like to avoid building python myself. Leading to two main questions:
- Is it possible for tbbmalloc_proxy.dll to be loaded after application startup? I am only concerned with allocations inside my DLL, the allocation definitions used up until my DLL is loaded are not of concern.
- If it is not possible, are there any python distributions on public conda channels which have been linked against tbbmalloc_proxy.dll?
Many thanks!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for posting in Intel Communities.
We cannot load tbbmalloc_proxy.dll after application startup but we can load it during application startup.
Please refer to below link for more details:
We will get back to you soon regarding your second query.
Thanks & Regards,
Noorjahan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Has there been any movement on the second query? I think it would be a useful item to support, there are multiple git issues on binding generators such as pybind11 and SWIG asking about the use of tbbmalloc_proxy.dll in python modules, providing a python distribution would resolve these issues.
Thanks again!

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page