Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - MALLOC_MEMORY_HOLD and C++: (1 Item)
   
MALLOC_MEMORY_HOLD and C++  
If we use MALLOC_MEMORY_HOLD=1 programs heaps will go very fast, I mean within minutes they will have consume the 
maximum process memory space.  There is no memory leak, apparently it`s memory fragmentation other with 
MALLOC_MEMORY_HOLD=0 the problem would show up.

So far I don`t understand why this is happening, in a nut shell we`ve taken existing C program, replace their malloc 
with new or std::vector<>.

Has anyone got any idea what is going on or how I might fiddle with some MALLOC_* options to fix this.  In the mean time
 i will try to create a program to reproduces the problem.