Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • DSA
  • Practice Problems
  • Python
  • C
  • C++
  • Java
  • Courses
  • Machine Learning
  • DevOps
  • Web Development
  • System Design
  • Aptitude
  • Projects
Open In App
Next Article:
What is Register Memory?
Next article icon

What is Volatile Memory?

Last Updated : 11 Sep, 2023
Comments
Improve
Suggest changes
Like Article
Like
Report

The term memory refers to an electronic place to hold the instructions and data. This stored information is then retrieved for the immediate use. Without the memory computer devices cannot function fastly and efficiently. Memory is used by the operating system, other hardware and software. The memory can be a volatile memory or a non-volatile memory. The below article covers details regarding volatile memory.

Volatile Memory

Volatile Memory is defined as a type of storage in which the contents remain saved and unerased until the device has a power supply or until the device is not shut down. If the power supply to the device is turned off or interrupted the data is lost. The best example of volatile memory is RAM(Random Memory Access). Such volatile memory is used in laptops, computers, printers, routers, mobile phones, and various medical devices. The volatile memory of a computer device is referred to as primary memory or storage. Computers RAM makes use of volatile memory because it provides read and write operations from and to memory very fast. For example, while working with any document on the computer system, initially the document is stored in RAM. Once the task is finished and the user turns off the computer system, the Random Access Memory loses the document automatically. If want to save the document for further use we need to save our documents in non-volatile memory such as optical disk, or hard disk.

Types of Volatile Memory

Volatile memory requires continuous electronic power to store the data else the data gets erased. There are two different types of volatile memory. They are given below

  • Static RAM
  • Dynamic RAM

Static RAM

Static RAM is defined as a type of volatile memory that we majorly used in electronics and microprocessors. This type of memory does not require to be refreshed regularly. The static RAM helps keep the data and content until the system has an electricity supply. In order to sort the data bits static RAM makes use of flip-flops. Static RAM is used as a cache memory. Static RAM requires less electric power and has a long life. Static memory is faster as compared to other types of memory.

Advantages of Static RAM

  • Static RAM provides with the feature of reliability.
  • Static RAM can be used as cache memory in computer systems.
  • Static RAM consumes less power.
  • The overall life of static RAM is more and even performs better performance.

Disadvantages of Static RAM

  • Static RAM is more expensive as compared to Dynamic RAM.
  • The overall design of static RAM is more complex.
  • The data is lost once system looses the connection.
  • The amount of storage provided by static RAM is less as compared to Dynamic RAM.

Dynamic RAM

Dynamic RAM is defined as a type of volatile memory which consists of more number of transistors and capacitors. Dynamic RAM also needs to be refreshed continuously. Dynamic RAM looses the data in very short period of time. Dynamic RAM is often used as a main memory in computer systems. Dynamic memory is small in size and less expensive as compared to static RAM. The architecture and overall design of dynamic RAM is more simple.

Advantages of Dynamic RAM

  • Dynamic RAM is less expensive as compared to static RAM.
  • The design of dynamic RAM is more simple than static RAM.
  • The memory of dynamic RAM can be deleted easily.
  • The size of dynamic RAM is more smaller.

Disadvantages of Dynamic RAM

  • The speed at which data can be accessed is slow.
  • Dynamic RAM consumes more power.
  • The data in dynamic RAM needs to be refreshed on regular basis.
  • Dynamic RAM requires more hardware as compared to static RAM.

Difference between Static RAM and Dynamic RAM: SRAM vs DRAM

Difference between Volatile and Non-volatile Memory: Volatile vs Non-volatile Memory

Advantages of Volatile Memory

  • Increased speed : The main advantage that volatile memory is that it performs all its operations fastly. It performs all the read and write operation very fastly on system.
  • Consumes less electric power: Volatile memory consumes very less electric power as compared to Non-volatile Memory devices such as hard disk and other type of drives.
  • Stores the data: The computer devices with Volatile memory stores their data for processing on Central Processing Unit(CPU).
  • Improves Performance: If the system has large RAM, it performs it's operations more fastly. Due to which it increases the overall performance.

Next Article
What is Register Memory?

A

anjalibo6rb0
Improve
Article Tags :
  • Computer Subject
  • Computer Basics

Similar Reads

  • What is Non-Volatile Memory (NVM)?
    Basically, the computer memory that maintains the required stored data even when power is cut off is known as non-volatile memory (NVM) or non-volatile storage. On the other hand, volatile memory requires continuous power to store the initial information. Long-term persistent storage and secondary s
    7 min read
  • What is video memory ?
    Video memory is a type of memory used to store image data that the computer's GPU (Graphics Processing Unit) needs. Video memory is important for ensuring that graphics work smoothly and efficiently, especially in graphics applications like video games, 3D modeling software, and high-definition vide
    6 min read
  • What is Register Memory?
    Register memory is a type of computer memory that consists of a small set of storage locations within the central processing unit (CPU) itself. These storage locations, known as registers, are used to store data temporarily during the execution of a program. More and bigger registers allow faster CP
    7 min read
  • Why ROM is Called Non Volatile Memory?
    In the world of computer memory, two fundamental characteristics distinguish different types: volatility and nonvolatility. Volatile memory requires a continuous power supply to retain stored data, while nonvolatile memory retains data even when the power is turned off. In this article, we will expl
    4 min read
  • What is ECC Memory?
    Error correction code memory, often known as ECC memory, is a kind of computer data storage that detects and fixes n-bit data corruption in memory using an error correction code (ECC). In this article, we will understand the functionality of ECC Memory, applications of ECC Memory, and more. What is
    7 min read
  • What is Memcached?
    Memcached is a powerful tool used in system design to speed up web applications by storing data in memory. It works as a caching layer, reducing the time needed to access frequently requested information. This helps websites and services handle more traffic efficiently, making them faster and more r
    12 min read
  • What is a Memory Card?
    In this age of digitalization, where most of the information is already converted into digital format a compact chip become basic requirement to store this huge amount information. As result memory card already have become very common in our modern electrical devices, memory card can be considered a
    11 min read
  • What is a Memory Dump ?
    A memory dump copies all information from RAM to a storage disk as a memory dump file (*.DMP format). A memory dump generally identifies a problem or error with the operating system or any installed applications on the system. Typically, a memory dump contains information on the final state of progr
    4 min read
  • What is a Memory Heap?
    What is Heap memory? Heaps are memory areas allocated to each program. Memory allocated to heaps can be dynamically allocated, unlike memory allocated to stacks. As a result, the heap segment can be requested and released whenever the program needs it. This memory is also global, which means that it
    5 min read
  • What is a Bubble Memory ?
    Bubble memory is also known as Magnetic Bubble Memory. The inventor Andrew Bobeck invented bubble memory in the 1970s at Bell Labs. Bubble memory comes under the category of non-volatile computer memory. The representation of data is in the form of magnetic bubbles (tiny circular areas) as it uses a
    2 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences