#664 – Physical Memory vs. Virtual Memory

When writing software, you’ll often come across the terms physical memory and virtual memory.  Here’s a quick explanation.

Physical memory refers to the actual random-access memory (RAM) installed in your computer.  On newer desktops and laptops, this is typically from 4-16GB.  RAM is a place to store data.  It allows the operating system and programs running on it to read and write data while the computer is running.

Virtual memory is an area of memory that an application can read from and write to which behaves like a chunk of physical memory.  The application can freely read from and write to this memory without worrying about affecting other applications.  This chunk of virtual memory may be smaller or larger than the actual physical memory on the machine.

Advertisement

About Sean
Software developer in the Twin Cities area, passionate about software development and sailing.

2 Responses to #664 – Physical Memory vs. Virtual Memory

  1. Pingback: #925 – The Managed Heap | 2,000 Things You Should Know About C#

  2. Pingback: #928 – How Objects Are Removed from the Managed Heap | 2,000 Things You Should Know About C#

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: