Advertisement

unwanted Hard Disk accessing

Started by May 10, 2000 11:14 AM
6 comments, last by rowbot 24 years, 7 months ago
hey When my DirectX7/VC++6 prog runs the hard disk gets accessed every few moments. I'm not doing this in my code. I have one debug file which does not get written to in the main game loop. If its seriously thrashing the virtual memory (on a 128Mb machine) I'd be very surprised. Does VC do some kind of logging? I tried changing the project settings from debug to release. I call one function in my game loop. It has max 10 variables going at the same time and does no heap allocation. My callback function only catches Esc and exits. If anyone has a clue whats going on please reply. thanks ro Edited by - rowbot on 5/10/00 11:54:39 AM
Perhaps it''s some other program that accesses the hd while your game is running?

/. Muzzafarath
I'm reminded of the day my daughter came in, looked over my shoulder at some Perl 4 code, and said, "What is that, swearing?" - Larry Wall
Advertisement
Windows is going on....

-- There IS something rotten in the state of Denmark --
-------------Ban KalvinB !
I don''t want to panic you or anything, but "unexpected hard drive access" is considered one of the signs of a potential virus. You might want to get a scanner and check it out, if you don''t already have one. Also, scandisking and defragging are always a good idea when your hard drive is acting oddly.

-fel
~ The opinions stated by this individual are the opinions of this individual and not the opinions of her company, any organization she might be part of, her parrot, or anyone else. ~
Hey,

I been doing some D3D coding too for my upcoming game, and I am having the same problems. I even commented out almost all code so all the prog is doing is displaying some tiles and a mouse pointer...
Still - HD activity every couple secs...

and I KNOW im not using all the vidmem :-)



regards,

GeniX
regards,GeniXwww.cryo-genix.net
hey

I was being silly. Used ''new'' once in my render method and didnt ''delete''. I was looking right at it for ages.

Check for allocations GeniX.

thanks for your replys guys.
ro

Advertisement
Any one here using Office97? The frequent disk access sometimes cause by the FastFind from Office97, which is executed at Startup. And make sure no other program is running background.

BTW, try using std::auto_ptr< class T > to minimize this mistake.

"after many years of singularity, i'm still searching on the event horizon"
Simple if you know your bios. Just make the graphics aperture size smaller. Now, that''s just for AGP cards. That''s just for 3D acceleration.

This topic is closed to new replies.

Advertisement