How to find largest contiguous block of free memory?

  • Thread starter Thread starter Josh Sale
  • Start date Start date
J

Josh Sale

I have a program that needs to allocate the largest contiguous block of free
memory in my address space. Rather than having my code loop on ever smaller
allocation amounts until it succeeds, is there some way to programmatically
find out the largest block of contiguous free memory?

TIA,

josh
 
Back
Top