How to find largest contiguous block of free memory?

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

Similar Threads

Memory 5
Dos Box Memory 1
EMS memory for old DOS games 1
DOS applications running under Win XP 2
contiguous files 5
Memory available to DOS... 3
Memory at DOS prompt... 2
How do we move a volume? 7

Top