Skip to main content
gamedev.net
🔒 Locked

RAM Usage

Started by sansured Mar 10, 2007 at 7:02 PM 2 replies 850+ views
Original Post
sansured
sansured
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.
Evil Steve
Evil Steve
How are you measuring RAM usage?
blaze02
blaze02
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.
sansured
sansured
I am looking it from Windows Task Manager's Performance tab.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.