- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
my question is basically, whether I can prevent memory pools from calling deallocate on the underlying memory provider. Our app goes through alternating phases of high and low memory usage. We can see that sometimes in a phase of low memory usage the memory pool is giving memory back to the underlying memory provider. I would really like to prevent that from happening. We are going to allocate that memory the next second anyway.
Thx.
my question is basically, whether I can prevent memory pools from calling deallocate on the underlying memory provider. Our app goes through alternating phases of high and low memory usage. We can see that sometimes in a phase of low memory usage the memory pool is giving memory back to the underlying memory provider. I would really like to prevent that from happening. We are going to allocate that memory the next second anyway.
Thx.
Link Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is a nontrivial feature, so how much do you think would be gained by disabling it? Note that allocation of chunks is amortised over many end-user allocations, and you might easily pin the former in place by keeping some of the latter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This feature was implemented, but it's not released yet. I hope we able to release this soon. We'll update you in this thread after the release.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Now I'm officially confused. :-) Never mind...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting Alexandr Konovalov (Intel)
This feature was implemented, but it's not released yet. I hope we able to release this soon. We'll update you in this thread after the release.
I would beglad to see some "sticky" posts in the Intel Threading Building Blocks Forumwith some the most
important information about the product ( Linksto downloads & docs, News, Releases, Updates, Fixes, etc ).
If I try to follow a link:
Product Information
Intel Threading Building Blocks Product/Release
http://software.intel.com/en-us/articles/intel-software-developer-support/
If I try to follow a link:
Knowledge Base
Intel Threading Building Blocks Knowledge Base
I will see some generic web-page with a very limited information about TBB. So, improvements are needed.
Best regards,
Sergey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Sergey for feedback,
we used to have such table with sticky posts. I'll try to find out why it disappeared.
--Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thisis part of 4.0 update 3, to use the policy set keepAllMemory flag during policy creation.

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