Help Center  
Sending a message
Open Hours:9:00-21:00 (GMT+8)
Service hotlines

9:00 -18:00, Mon. - Fri. (GMT+8)

9:00 -12:00, Sat. (GMT+8)

(Except Chinese public holidays)

X

What is Computer Memory and What are the Common Types?

689

Introduction


When it comes to computers, whether you want to play games, edit videos, or simply understand the working principle of a computer, there is one thing you need to figure out first: computer memory. Many people often confuse memory with hard drive space, thinking that they are both for storing stuff. In fact, the jobs they do are completely different. In this article, we will specifically sort this out and tell you what memory is on a computer and what exactly memory does in a computer. By the way, let's take a look at all the common types of memory in computers available on the market.

 

What is Memory on a Computer?


In simple terms, the memory in a computer is the place where the computer stores things.

 

Computer memory is responsible for storing data and instructions. Some are used temporarily, while others can be kept for a long time. When the CPU is processing tasks, it directly reads data from here and performs calculations.

 

If there is no computer memory storage, the computer cannot function properly because data cannot be stored or retrieved.

 

What does Memory do in a Computer?


Many people may ask: what exactly does memory do in a computer?

 

In fact, it can be understood in several very simple ways:

 

Store data and programs

 

Help the CPU find needed data faster

 

Allow multiple tasks to run smoothly at the same time

 

Improve overall system performance

 

To put it simply, memory in a computer is to enable faster data transmission between different parts of the computer and make the entire system run more smoothly.


PCB assembly services from PCBasic

 

Communication Between Memory and the CPU


Between the computer memory and the CPU, there is actually a constant process of "sending data back and forth". The CPU constantly reads and writes data from the computer memory storage.

 

Data transfer between them mainly relies on three types of buses:

 

• Address bus: tells the memory which location to access

 

• Data bus: transfers the actual data back and forth

 

• Control bus: controls whether the operation is read or write

 

As long as these communications are smooth, the CPU can quickly find the required computer memory units.

 

Communication Process


The data exchange between the CPU and the memory for computers is actually a very simple loop:

 

The CPU tells the memory which location it needs

 

The memory retrieves the corresponding data

 

The data is sent back to the CPU

 

The CPU processes the data

 

This process repeats millions of times per second, so the faster the computer memory types are, the smoother the overall operation of the computer will be.

 

Types of Computer Memory


There are actually many types of computer memory. Generally, we divide them into two major categories:

 

Primary Memory

 

Secondary Memory

 

Understanding these different types of computer memory can help us better evaluate whether the computer performance and storage are sufficient.

 

1. Primary Memory


Primary memory is the memory that the CPU can directly access, the most commonly used part when a computer runs. It is fast, but usually not large in capacity, always overwritten by new data after being used.

 

RAM

 

Random Access Memory (RAM) is the most common type of computer memory, mainly used to temporarily store data.

 

For example, when you open software or run programs, the related data is placed in RAM first. Once you turn the computer off, the data is gone.

 

Types of RAM

 

There are two common types of RAM:

 

Dynamic RAM (DRAM)

 

Static RAM (SRAM)

 

These two are the most widely used memory types with their own characteristics and uses.

 

Dynamic RAM (DRAM)

 

DRAM is the most common type of memory found in our computers.

 

It stores data via capacitors, which slowly leak charge, so the memory needs to be constantly refreshed to keep the data from being lost.

 

It's cheap, can be made with a large capacity. That's why DRAM is the main memory in most computers.

 

Static RAM (SRAM)

 

SRAM stores data via flip-flop circuits, not need to be constantly refreshed like DRAM, which makes it faster and more responsive.

 

However, it is more expensive and takes up more space. That's why it is generally not used for large-capacity memory.

 

The Main Difference Between SRAM and DRAM


Feature

DRAM

SRAM

Speed

Slower

Faster

Cost

Lower

Higher

Power Consumption

Higher

Lower

Usage

Main Memory

Cache


Feature DRAM SRAM

 

Speed Slower Faster

 

Cost Lower Higher

 

Power Consumption Higher Lower

 

Usage Main Memory Cache

 

Simple understanding:

 

DRAM is cheaper, suitable for large-capacity main memory.

 

SRAM is faster, suitable for CPU cache.

 

Both of them are very important computer memory types. DRAM handles capacity, SRAM handles speed, playing each own role in memory for computers.

 

ROM (Read-Only Memory)

 

ROM is non-volatile computer memory storage that retains data even when the power is off.

 

Types of ROM

 

Mask ROM (MROM)

 

Programmable ROM (PROM)

 

Erasable Programmable ROM (EPROM)

 

Electrically Erasable Programmable ROM (EEPROM)

 

These are important types of memory in computer systems used for firmware storage.

 


The Main Difference Between PROM, EPROM, and EEPROM


Type

Reprogrammable

Method

PROM

No

One-time programming

EPROM

Yes

UV light

EEPROM

Yes

Electrically


Type Reprogrammable Method

 

PROM No One-time programming

 

EPROM Yes UV light

 

EEPROM Yes Electrically

 

Each represents a different approach within computer memory types.

 



About PCBasic



Time is money in your projects – and PCBasic gets it. PCBasic is a PCB assembly company that delivers fast, flawless results every time. Our comprehensive PCB assembly services include expert engineering support at every step, ensuring top quality in every board. As a leading PCB assembly manufacturer, we provide a one-stop solution that streamlines your supply chain. Partner with our advanced PCB prototype factory for quick turnarounds and superior results you can trust.



 


2. Secondary Memory


Secondary memory refers to a type of storage that retains data even when you turn off a computer. It is mainly used for long-term storage of files, programs, and system data. Chat records, documents, images, and videos, installed software and system files, as well as data saved by browsers (such as bookmarks and some browsing history) are all stored in secondary storage and remain available even after the computer is turned off. As the article you are reading, is computer memory that makes sure the content still exists after you close the page.

 

Compared with RAM, it is usually slower, but offers a larger capacity at a lower cost, so a computer usually stores data here.

 

Hard Disk Drives (HDDs)

 

HDDs use magnetic platters to store data and rely on mechanical components to read and write information.

 

Their advantages are large capacity and low cost, making them suitable for storing large amounts of data such as videos, images, and backup files.

 

However, because they contain moving parts, they are relatively slower in read and write speed and are more sensitive to physical shock.

 

Solid State Drive (SSD)

 

SSDs use flash memory chips to store data and have no moving parts, which makes them faster and more responsive.

 

Tasks such as booting up, loading software, and transferring files are noticeably quicker, and SSDs are also more durable and quieter.

 

Today, most new computers use SSDs as their primary storage device.

 

Optical Drives (CD/DVD)

 

Optical drives use laser technology to read and write data on discs.

 

This method was very common in the past, for tasks such as installing operating systems or playing media from discs.

 

However, with the widespread use of USB drives and cloud storage, they are now used much less frequently.

 

Tape Drives

 

Tape drives are mainly used for enterprise-level data backup and long-term archiving.

 

They offer a low cost per unit of storage and are suitable for storing large volumes of data, but their access speed is relatively slow, making them unsuitable for frequent daily use.

 

They are typically used for data that needs to be stored for a long time but is not accessed often.

 

Storage Arrays

 

Storage arrays combine multiple hard drives into a single system (such as RAID).

 

This setup can improve read and write performance and, in certain configurations, provide data redundancy to prevent data loss if one drive fails.

 

They are commonly used in servers and data center environments.

 

Network Attached Storage (NAS)

 

NAS is a storage device connected through a local network, allowing multiple computers or devices to access it at the same time.

 

It is often used in homes or businesses for file sharing, backups, and media storage, such as storing photos or videos in one central location.

 

It works similarly to a private cloud.

 

Cloud Storage

 

Cloud storage stores data on remote servers and allows access via the internet at any time.

 

Users can sync files across different devices, such as computers, phones, and tablets.

 

Its advantages include convenience and scalability, while reducing reliance on local storage space, making it one of the most widely used storage solutions today.


PCB assembly services from PCBasic

 

What Is the Difference Between Primary and Secondary Memory?


Feature  

Primary Memory

Secondary Memory

Speed

Fast

Slower

Volatility

Volatile

Non-volatile

Capacity

Limited

Large

Cost

High

Lower


Feature Primary Memory Secondary Memory

 

Speed Fast Slower

 

Volatility Volatile Non-volatile

 

Capacity Limited Large

 

Cost High Lower

 

Understanding this distinction is key when analyzing types of memory in computer systems.

 

Advanced Memory Technologies

 

Emerging technologies are redefining computer memory types:

 

Flash Memory

 

Widely used in SSDs and USB drives, flash memory is a crucial part of modern computer memory storage.

 

3D XPoint

 

Developed by Intel and Micron Technology, it offers high speed and durability.

 

Quantum Memory

 

Still in research, quantum memory aims to store data using quantum states.

 

High-Bandwidth Memory (HBM)

 

Used in GPUs and high-performance systems, HBM provides extremely fast data transfer.

 

Graphene Memory

 

Graphene-based memory promises faster speeds and lower power consumption.

 

Neuromorphic Memory

 

Inspired by the human brain, this technology is designed for AI applications.

 

Computer Memory Specifications

 

When evaluating memory for computers, understanding memory specifications is essential.

 

Buffer Type

 

Determines how memory interacts with the memory controller.

 

Capacity

 

Measured in computer memory units such as GB or TB, capacity defines how much data can be stored.

 

Channels

 

More channels mean better performance due to parallel data processing.

 

Form Factor

 

Defines the physical size and shape of the memory module.

 

Latency

 

Indicates the delay before data transfer begins.

 

Speed

 

Measured in MHz, speed affects how quickly data is processed.

 

Voltage

 

Lower voltage typically means better energy efficiency.

 

Conclusion

 

Simply put, understanding types of memory in computer systems is very useful, right? From RAM and ROM to SSDs and cloud solutions, we know that each type of computer memory serves a unique purpose in daily life.

 

No matter whether you work as a computer guy or not, knowing what is memory on a computer and what does memory do in a computer, you can find out where the regular content on a computer is stored and make informed decisions, like clicking "save" before you leave a file document.

 

As technology evolves, new innovations will continue to shape the future of computer memory storage, making it faster, more efficient, and more intelligent. But honestly, for most people, just knowing when to hit "save" is already half the battle.

 

 

 

About Author

Cameron Lee

Cameron has accumulated extensive experience in PCB design and manufacturing in high-end communication and consumer electronics, focusing on the application and layout optimization of emerging technologies. He has written several articles on 5G PCB design and process improvements, providing cutting-edge technology insights and practical guidance for the industry.

Assemble 20 PCBs for $0

Assembly Enquiry

Upload File

Instant Quote

x
Upload File

Phone contact

+86-755-27218592

In addition, we've prepared a Help Center. We recommend checking it before reaching out, as your question and its answer may already be clearly explained there.

Wechat Support

In addition, we've prepared a Help Center. We recommend checking it before reaching out, as your question and its answer may already be clearly explained there.

WhatsApp Support

In addition, we've prepared a Help Center. We recommend checking it before reaching out, as your question and its answer may already be clearly explained there.