Sign in to follow this  
sansured

RAM Usage

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this