PDA

Click to See Complete Forum and Search --> : Still Doubt about memory !!!


vbnew
Dec 17th, 2003, 07:44 PM
guys,

what is the difference between the virtual memory and physical memory?

And if the question ask --> what is the total memory that the computer had?? what is the answer?? is it the Sum of virtual and physical?


and if they say 128MB of RAM ---> what does that tells? Virtual or Physical memory ??

Please help little bro to crack this ....... thanks experts

vbnew
Dec 17th, 2003, 08:31 PM
Guys,


i was trying to get the

memory usage : TotalUsedMemory/TotalMemory

that was shown at the bottom right of the task manager..... but to no avail... how to get those value ?


=============================================
after a search and read up.... i got 2 answers already...

well for those who still dont know...
1. The physical memory is refering to RAM
2. Virutal memory is refering to PageFile (reserved HDD space for swapping)
=============================================

Damn i learned this before in College.. Just can't seem to get it. Bad Brain... I wonder i can be good programmer ... Please correct me if i am wrong... thanks

StevenHickerson
Dec 18th, 2003, 01:26 AM
Virtual memory is something created by windows I dont believe any other OS actually makes use of something of this nature like windows does. All it is, is a small part of your harddrive allocated for windows to use with file swapping and other stuff.

I'm not totally positive if it has any benefits past windows exclusive programs or not. For example games, I dont notice any increase in performance if I increase my virtual memory size but I notice a huge increase with just a small extra amount of physical memory. So I would assume that virtual memory dosn't help much in real applications.

Now as far as what exactly is physical memory. Its just what it sounds like physical memory. You could open the case of your computer and actually touch your physical memory. If someone says they have 128 mb of ram then they have 128 mb of physical memory.

As far as what your trying to do with the memory usage. I'm not sure on that.

Where are you getting the amount of memory used from?

**EDIT

Bah I didn't even see your edit just mistook it for a signature the way you head it under those === signs hehe.