Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

dadio

OS resources

This topic is 6091 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

My terrain program runs great on both win98 and win2k. The thing is, that on win98, it shows that the program runs with ~8mb of RAM, but in win2k, I get an incredible ~220mb. Does anyone know of such behaviour problems...? I don''t have any big data structure in the app. just a plain height map (from BMP file) and some mooving around... any ideas?

Share this post


Link to post
Share on other sites
Advertisement
Hi,

Well, while 220MB seems to be a LOT, 8MB is in my eyes a bit too small. Which program determined that memory usage? Or do you use your own memory methods? I don't think that 8MB is realistic, neither is 220MB.

There are some nice, but expensive tools you could use, such as BoundsChecker. A more simple (and cheap) solution is to write your own memory allocation routines to keep track of all allocations done.

How long does it take to start up your program under win2k? Allocating 220MB under Windows 2000, at least if that memory is split up a bit into several chunks, would take some time I think. On my machine, allocating 1000 blocks of float pointers to 20000 floats each (totalling 80 MB) takes nearly a second, even in release builds.

I suggest memory allocation routines, they are just cool

Edited by - synopsis on October 15, 2001 3:55:11 PM

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!