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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top