Skip to main content
gamedev.net
🔒 Locked

Quick HeapAlloc question!

Started by spudgun2004 0 replies 350+ views
Original Post
spudgun2004
spudgun2004
In my application I am creating/deleting a number of objects, all of the same size, using a local heap and I was wondering if a freed block of memory would ever be reused when I call HeapAlloc. I notice that Win32 does not allow moveable memory on local heaps and I was concerned that allocating/freeing memory would cause the heap to become fragmented, but I''m sure it won''t if all allocations are of the same size, is this correct? Many Thanks

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.