Im making growable heap. For example i have handle to this growable space i mov some numbers into the firs bytes and then making BIG leap and trying to write there something.What heapens then with all this memory betwen this two points ?? The Heap will grow that big to contain this few number + all this space ??
When you create a heap you are allocating memory for your own private use. Windows will set aside that memory for you and lock out all other applications. There is no way of knowing if the memory in-between is just space or data that you need so Windows will allocate all the memory between the two points, so the answer is yes.