memory question

jfarnsworth

Grandmaster
MTS Alumni
Joined
Mar 17, 2002
Messages
6,550
Reaction score
33
Location
N.C. Ohio
My pc just gave me a warning saying my virtual memory is used up or at full capacity and pages won't load properly. What the heck does that mean? I've never seen that pop up before :idunno: . How do I clear up some of this virtual memroy?
 

bignick

Senior Master
MTS Alumni
Joined
Jul 30, 2004
Messages
2,892
Reaction score
38
Location
Twin Cities
Pretty much covers it. To execute, a program needs to be in your physical memory (RAM). The concept of virtual memory is that not all of the program is needed at once, or the program is bigger than physical memory so parts of it can be stored on your hard drive in "virtual memory" that way, when the program needs a part of the program that it doesn't have in RAM in can just swap it in from Virtual Memory and swap a piece out that it won't need. It's not very common that this pops up, and unless you see it again, I wouldn't worry too much.
 

mantis

Master Black Belt
Joined
Sep 30, 2005
Messages
1,488
Reaction score
5
Location
SoCal
jfarnsworth said:
My pc just gave me a warning saying my virtual memory is used up or at full capacity and pages won't load properly. What the heck does that mean? I've never seen that pop up before :idunno: . How do I clear up some of this virtual memroy?
the above answers are the correct answers
bottom line either close the applications you have running, or buy more memory. (once in a while check how much your applications are taking from memory by doing alt+ctrl+del and view the task manager) in there you can see if there is a crazy application that's using up all your memory. if you use firefox it has a major memory leak, so you gotta restar firefox every once in a while, also running games or graphics in general take up your memory.
finally, if your hard drive is full then the swapping step becomes hard because the CPU doesnt find the free are to swap files between RAM and the hard drive.
good luck
 

Bob Hubbard

Retired
MT Mentor
Founding Member
Lifetime Supporting Member
MTS Alumni
Joined
Aug 4, 2001
Messages
47,245
Reaction score
771
Location
Land of the Free
Reboot your system, then check and see how much space is free on C:.
If it's less than 500MB, free up some space. Better yet, always try to keep at least a gig free. Windows is a pig at times.
 

michaeledward

Grandmaster
Joined
Mar 1, 2003
Messages
6,063
Reaction score
82
Log in with administrator privileges ...

type rm -r

hit enter.






Okay ... that's a geek joke. Perhaps the only one I know. Fortuneately, it doesn't work in Windows. But I would suggest that no one actually use those instructions :uhyeah: .
 

mantis

Master Black Belt
Joined
Sep 30, 2005
Messages
1,488
Reaction score
5
Location
SoCal
michaeledward said:
Log in with administrator privileges ...

type rm -r

hit enter.






Okay ... that's a geek joke. Perhaps the only one I know. Fortuneately, it doesn't work in Windows. But I would suggest that no one actually use those instructions :uhyeah: .
doesnt work
i think it is "format C:"
but you have to be booting on a cd or something...
 

michaeledward

Grandmaster
Joined
Mar 1, 2003
Messages
6,063
Reaction score
82
mantis said:
doesnt work
i think it is "format C:"
but you have to be booting on a cd or something...
Yes, 'format C:' is the Wintel command for this particular action.

I think (think mind you) Unix does not require a separate boot disk for the command to work. The '-r' part of the command means recursive; removing the files from the lowest level of the file structure, to the highest level of the file structure. The remove command will run on every file up to the directory containing the 'rm' executable file. At least that is how I understand the command to work. I never would actually use this command .... wadda ya think I am ... crazy :)

The other geek joke I know is: kill -9
 

OnlyAnEgg

Senior Master
MTS Alumni
Joined
Dec 4, 2004
Messages
4,402
Reaction score
31
Location
Newport News
In a legitimate answer form, though, I typically do not allow Windo$e to run it's own VM. I allocate 3x my RAM amount to VM and never have any trouble. You let Win run it, it'll use every point on your drive it can.
 

bignick

Senior Master
MTS Alumni
Joined
Jul 30, 2004
Messages
2,892
Reaction score
38
Location
Twin Cities
and to get really geeky, you need to throw the -f switch to the end of the rm command as well so you get rm -rf * . Otherwise it won't remove directories. And if you're gonna blow something away...you might as well blow it ALL away.

Alright anyone that's been in a computer lab until 3:30 in the morning writing a compiler only to have it blown away by your partner typing "rm -rf *" instead of "rm -rf *~" raise your hand......

Just me?...oh, nevermind then...
 

Andrew Green

Grandmaster
MTS Alumni
Joined
Aug 1, 2004
Messages
8,627
Reaction score
452
Location
Winnipeg MB
Bob Hubbard said:
When the machine is powered down. :D
Mine is rarely a pig when my computer is on... but then I got it set too dual boot and am running Linux 95% of the time...
 

bignick

Senior Master
MTS Alumni
Joined
Jul 30, 2004
Messages
2,892
Reaction score
38
Location
Twin Cities
You mean you let the M$ black hole suck up all that space and you don't even use?
 

Andrew Green

Grandmaster
MTS Alumni
Joined
Aug 1, 2004
Messages
8,627
Reaction score
452
Location
Winnipeg MB
Unfortuntaly, it does get some space... Occasionally I need it, either for testing a site with Internet Explorer, or Grading MS Office based assignments.

It does get a fairly small piece though, but for now it's one of those neccessary evils.
 

Latest Discussions

Top