Coming to the question, what I want to know is that after many calls to new and delete, the memory will obviously get fragmented - continuous blocks of memory remaining will be very less. What if I want to allocate a huge amount of memory, but there is not that much continuous memory? I can't allocate it. So, I will need to somehow de-fragment the memory.
Although I don't exactly require this, I am curious about it. Can it be done? If yes, then how? I would certainly like to try making one

New Topic/Question
Reply


MultiQuote








|