Jump to content
  • Advertisement
Sign in to follow this  
fir

[winapi] to check avaliable memory

This topic is 1786 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is there a call in winapi for checking the amount of avaliable memory?

Second question, if I got build a c/winapi program which use a 700 MB

of static data/tables what with it result like when running on 500 MB

machine ?

 

 

Share this post


Link to post
Share on other sites
Advertisement

Depending on how you allocate that memory Windows will let you do that (use more memory than is physically available).

 

Back in the old days of yore (Win 3.11) I could load and scroll on a 8 MB bitmap on a 4 MB machine. No, it was not particularely fluid, but it worked.

 

 

Checking the state is good, however having a forced abort is not. Even if you deem memory not sufficient, let it run (maybe with a warning).

Edited by Endurion

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!