Skip to main content

Command Palette

Search for a command to run...

Day 7 of learning cybersecurity

Published
1 min read
Day 7 of learning cybersecurity
A

Cybersecurity beginner documenting my daily learning journey. Learning Linux, networking, and security fundamentals. Sharing notes, mistakes, and takeaways as I grow.

Today I learned about main memory and virtual memory and how memory is managed in an operating system.

I started with main memory. Main memory, also known as RAM, is the memory where programs and data are stored while they are being executed. It is fast but limited in size, so the operating system must manage it efficiently.

Then I learned about virtual memory. Virtual memory allows the system to execute programs even when the physical memory is not enough. It does this by using disk space as an extension of main memory.

I understood how virtual memory creates the illusion of a large memory space for each process, even though the actual physical memory is smaller.

Virtual memory improves:

  • Memory utilization

  • System performance

  • Program execution without memory constraints

Why this matters for cybersecurity:
Memory management plays an important role in security. Many attacks like buffer overflows, memory leaks, and exploitation techniques are related to how memory is allocated and accessed.

Understanding main memory and virtual memory helps in analyzing vulnerabilities, malware behavior, and system stability.