Process Hacker Discussion Forum

User avatar
Posts: 150
Joined: 28 Feb 2011 18:54

Dynamic sizing arrays in C,...

11 Nov 2013 08:02

God, i hate them,... :twisted: :x :cry:

There is something i would ask about the usage of HeapReAlloc (what malloc and realloc also internally uses on windows): Is it possible that there will be memory fragmentation while using them (i guess its very likely) and do i have to HeapCompact on the heap or is it rearranged by the system on each reallocation?