dlmalloc mspace_trim in mspace with all object free
We use the mspace feature of Doug Lea's Malloc (dlmalloc). We have an mspace with 250 MB of objects and free all the objects. After calling mspace_trim() the size is 150 MB. We were hoping for much smaller. When I look at mspace_trim() I do not see it freeing large and small bins. Is there a way to force freeing bins so we can get back more memory?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.