Technical support > Windows

CPU problem while playing

<< < (3/5) > >>

Falion:
BT is 100% accurate, I guess I did not explain it completely in my last post. When your PC lacks adequate RAM, it cannot process information at an optimum level. RAM works VERY fast, in terms of Nanoseconds, so when your CPU needs data, and that data is brought from your Hard-Drive into RAM, it can be accessed fairly quickly. The CPU may be the fastest made, but if it can't get the data it needs to it quickly...well your CPU is SOL, until the data arrives.

If you don't have enough system RAM, this data the CPU needs is instead 'stored' in what is called "virtual memory". This is a "space" allocated on your HARD-DRIVE to hold the data the CPU needs until it can be moved into RAM, and then the CPU's cache as needed. So...essentially the virtual memory, or "page file" in your Windows OS is acting as RAM, but it works somewhere in the area of milliseconds, instead of nanoseconds...which is an eternity in terms of a speed difference in computer terms. Hard-Drives  ( where the OS page file is located at ) are extremely SLOW in data throughput, compared to RAM. Hence, LAG, or even a system lockup, as if your PC runs completely out of RAM and Pagefile, your OS can find itself... with no room left for itself to operate in and your PC can crash or lock up.

Some games can do this, and you'll hear about things like "memory leaks", which is basically a way of saying over time, the program is leaving no room left for the OS and you get a CTD ( crash to desktop ) or some similar type of thing.

Most bargain brand, or off the store "shelf" PC's are very LIGHT in system ram, and "many" are not really designed with gaming in mind. A good rule of thumb, is 2 Gigs of system ram for XP and even MORE for Vista, for things to run really well when gaming. The more intense your gaming...the more RAM you need !! Same rule applies to any Vid-Cards...generally the more RAM on the PCB the better off you will be. I know with your situation and a laptop...Vid-Cards don't really apply...just mentioning it. :)

LOL...I can't program or model a single thing, but make PC's I can do, and have been for over a decade now...sure beats buying store bought stuff :)

DanielOR:
This seems like a good place to ask the wizards...

XP, 1.8 GHz, 512 RAM.  Lately the system has developed a memory leak.  Game freezes ocasionally.  One time I saw it hit 460MB of virtual memory - UFO:AI alone.  Now, the problem, I believe, is not limited to UFO:AI.  After a few days IExplorer got to bee 210MB of virtual memory too.  If I close things, the game runs fine (did last time), but it doea hang if I run it concurently with other things like firefox or explorer.

So, I suspect the problem is with the system.  Before you ask: firewall is on, McAfee is updated and running, spybot used regularly, and comes up clean.  The resident tray is pretty empty aside from the McAffee and SpyBot.

Question: any recommendations on fixing memory leak other than reinstalling windows?  Been a year and a half since I formatted the drive. 

blondandy:
A memory leak is a bug specific to a piece of software. It keeps allocating and never frees.

Falion:
Like Andy said, your system cannot have a memory leak...that's basically impossible. A memory leak is the result of sloppy, or somehow "wrong" coding in some type of software / program / game. When running a program that has such a "bug" if you want to call it that...it just keeps using up more and more system resources / Ram until it crowds out, or  "possibly" even over-writes the area your Operating system needs to function...then you crash, lock up, BSOD or some similar situation happens.

Reformatting is "always" good, if you have everything backed up, and can spend the time doing so. Make sure you have your mobo ( motherboard ) drivers CD to reinstall all of those and if not...download them from your MOBO's manufacturer's website.

Try using these free programs before doing so...they might pick up some stuff that's slowing your system down.

http://www.filehippo.com/download_ccleaner/

I've used the above program now for over 3 years...no ill effects. Make sure, the link your downloading from is the on the "right" over in the green area where it says "Download latest Version" under the green arrow. I once told my Dad to get this program and he tried to download off a link to some "pay" program on the left side. He tried 4 times and later told me that this program wasn't free LOL :)

http://www.emsisoft.com/en/software/free/

I find spybot search & destroy isn't up to snuff as it once was...the above program updates almost daily with a new malware / addware / trojan database for the latest threats out there. For a free program it's a pretty good spyware removal tool.

Stop using Internet Destroyer ( ahem...IE ) and use Firefox, or another open source browser...you'll save yourself a TON of grief...to get it go here...http://www.mozilla.com/en-US/firefox/

When your McAffee subscription runs out...if you switch over to Firefox, you can get by easily with either of these 2 free AV programs...and they use much less system resources than your current AV program. I happen to like Avast ( now that it's up to 4.8 ) better...but both are good. Make sure to uninstall McAffee...

http://www.avast.com/     Look for the free home edition !


http://free.grisoft.com/    Again...it's free :)

There are better AV's out there, but you have to pay for them...and most are resource hungry and bog your system down. These 2 are pretty light on resources...you can even use them BOTH together, even though it's not recommended.

Lastly...please get yourself some MORE ram...512 ram for any gaming is like basement level minimum...and RAM is dang cheap...go here...http://www.newegg.com/Index.aspx?Name=Home  to get just about any thing you might need :)

Once you get your ram ( however much ) and install it, manually set your page file to zero...restart your computer...then reset the page file to double the amount of ram you have installed and reboot once again.

 If you have 1 gig of ram set the page file to 2 gigs...2 gigs of ram...set it to 4 gigs...that would be 4000 Megs. Your page file will now stay the same, never defrag...and Windows won't waste it's time resizing it all the time, which usually improves your gaming perfomance...usually.

There are more things I could tell you, but they involve messing around / tweaking the XP OS...try the stuff above and see what your results are :)

BTAxis:
Overwriting memory space used by the OS should in theory not be possible - the OS manages memory, so if it allows a program to write memory addresses that it knows it's using itself, it's a bad OS.

Then again, Windows IS a bad OS. But even so.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version