• Advertisement
Sign in to follow this  

RAM Usage

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

Hi, I am using ".x" meshs for maps in my 3D engine. But i have some problems about RAM usage. For using 12 Mb .x mesh (with textures 21 Mb) my engine fills 183 Mb of Ram. I did some tests with the same mesh on Directx SDK samples and the results are nearly same. In the game project i need to use much bigger meshs for maps and i have to solve that performance problem. I need to minimize of Ram usage or need something like content streaming; like dynamicly loading and cleaning the Ram during the game play without loading screens. Does anyone has any idea about it ? Thanks.

Share this post


Link to post
Share on other sites
Advertisement
Make sure you are loading textures only a single time. I've seen tutorials that call DirectX's load texture functions once for each frame of an animation hierarchy.

So check the texture loading, make sure its once per filename. And if all else fails, use PIX.

Share this post


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

  • Advertisement