<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by 24PD35 - SANJAY RAGAVENDRA K on Medium]]></title>
        <description><![CDATA[Stories by 24PD35 - SANJAY RAGAVENDRA K on Medium]]></description>
        <link>https://medium.com/@24pd35?source=rss-276dcc1da900------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by 24PD35 - SANJAY RAGAVENDRA K on Medium</title>
            <link>https://medium.com/@24pd35?source=rss-276dcc1da900------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 16:43:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@24pd35/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Why Operating Systems Pretend Memory Is Bigger Than It Really Is]]></title>
            <link>https://medium.com/@24pd35/why-operating-systems-pretend-memory-is-bigger-than-it-really-is-cadaf33ca871?source=rss-276dcc1da900------2</link>
            <guid isPermaLink="false">https://medium.com/p/cadaf33ca871</guid>
            <category><![CDATA[operating-systems]]></category>
            <category><![CDATA[online-assignment-help]]></category>
            <category><![CDATA[computer-science]]></category>
            <dc:creator><![CDATA[24PD35 - SANJAY RAGAVENDRA K]]></dc:creator>
            <pubDate>Wed, 04 Feb 2026 06:01:00 GMT</pubDate>
            <atom:updated>2026-02-04T06:01:00.990Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Illusion of Infinite Memory</h3><p>If you’ve ever wondered how your laptop runs multiple apps at once — a browser with dozens of tabs, a music player, maybe even a video editor — despite having limited RAM, the answer lies in a clever trick. Operating systems make programs believe they have access to far more memory than physically exists. This isn’t magic; it’s <strong>virtual memory</strong>.</p><h3>What Is Virtual Memory?</h3><p>Think of physical RAM as a bookshelf. It has limited space. Virtual memory, on the other hand, is like a library card — it lets you borrow extra storage from a much bigger warehouse (your hard drive or SSD). The operating system manages this borrowing seamlessly, so each program feels like it has its own spacious shelf, even if the actual bookshelf is small.</p><h3>Why Pretend? The Benefits</h3><h3>1. Simpler Programming</h3><p>Developers don’t need to worry about how much RAM is available or whether memory is fragmented. Each program sees a neat, continuous block of memory, making coding less complex.</p><h3>2. Security and Isolation</h3><p>Virtual memory ensures that one app can’t peek into another app’s memory. This isolation protects sensitive data and prevents accidental crashes caused by memory overlap.</p><h3>3. Running Bigger Applications</h3><p>Large applications — think databases, video editors, or games — often need more memory than your machine physically has. Virtual memory lets them run by temporarily storing unused data on disk.</p><h3>4. Multitasking Made Possible</h3><p>Multiple apps can run side by side, each believing it has plenty of memory. The OS juggles resources behind the scenes, swapping data in and out of RAM as needed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/265/0*iiUc3LpCuqhgzw5R" /><figcaption>VIRTUAL MEMORY IN OS</figcaption></figure><h3>How the Trick Works</h3><ul><li><strong>Paging:</strong> Memory is divided into small blocks called pages. The OS swaps these between RAM and disk.</li><li><strong>Address Translation:</strong> A hardware unit (MMU) translates virtual addresses into physical ones.</li><li><strong>Demand Paging:</strong> Only the parts of a program currently in use are loaded into RAM, saving space.</li></ul><h3>The Catch</h3><p>Of course, pretending has limits.</p><ul><li>Accessing data from disk is <strong>much slower</strong> than RAM.</li><li>If too many programs compete for memory, the system may start <strong>thrashing</strong> — constantly swapping data in and out, slowing everything down.</li></ul><h3>Conclusion</h3><p>Operating systems pretend memory is bigger than it really is because this illusion makes computing smoother, safer, and more powerful. Without virtual memory, multitasking would be clunky, large applications wouldn’t run, and programming would be far more complex.</p><p>So next time your computer feels sluggish, remember: it’s not lying to you maliciously — it’s juggling illusions to keep everything running.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cadaf33ca871" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Grand Illusion: How Operating Systems Convince Us There's More Memory Than Actually Exists]]></title>
            <link>https://medium.com/@24pd35/the-grand-illusion-how-operating-systems-convince-us-theres-more-memory-than-actually-exists-a82686474832?source=rss-276dcc1da900------2</link>
            <guid isPermaLink="false">https://medium.com/p/a82686474832</guid>
            <dc:creator><![CDATA[24PD35 - SANJAY RAGAVENDRA K]]></dc:creator>
            <pubDate>Tue, 03 Feb 2026 05:06:08 GMT</pubDate>
            <atom:updated>2026-02-03T05:06:08.908Z</atom:updated>
            <content:encoded><![CDATA[<p>The Grand Illusion: How Operating Systems Convince Us There&#39;s More Memory Than Actually Exists</p><p>In the digital theater of modern computing, your operating system (OS) is a master illusionist. It performs a remarkable trick every time you boot your computer: convincing countless applications that they have access to far more memory than physically exists inside your machine. This sophisticated deception, far from being a deceit, is a foundational feat of computer engineering that makes modern computing possible. The technique is called virtual memory, and it’s one of the most elegant and essential lies ever told in technology.</p><p>The Problem: Finite Space, Infinite Demand</p><p>At the hardware level, every computer has a fixed amount of Random Access Memory (RAM)—perhaps 8, 16, or 32 gigabytes of physical chips on your motherboard. This RAM is incredibly fast, allowing your CPU to access data almost instantaneously. However, it’s also limited, expensive, and volatile (it loses data when powered off).</p><p>Imagine a busy office with only a small, real desktop (the RAM). If every project file, report, and tool had to be on that desktop at once, work would grind to a halt the moment you had more than a few tasks. This was the reality of early computing. Programs had to fit entirely into the available physical memory, severely limiting multi-tasking and the complexity of software.</p><p>The Illusion: A Vast Virtual Address Space</p><p>To solve this, operating systems create a virtual address space for each process (each running program). To the program, it appears as if it has a massive, private, and contiguous block of memory all to itself—often 4GB or even 128TB, depending on the OS and architecture—regardless of the actual physical RAM available.</p><p>How is this possible? The OS, with crucial help from the computer’s Memory Management Unit (MMU) hardware, acts as a brilliant translator and manager. It maps the program’s &quot;virtual&quot; addresses to real &quot;physical&quot; addresses in RAM (or elsewhere). The program only ever sees its own neat, virtual world; the OS handles the messy reality behind the scenes.</p><p>The Magic Tricks Behind the Illusion</p><p>The virtual memory system employs two primary techniques to sustain this illusion:</p><p>1. Paging: The Art of Juggling<br>The OS divides both virtual and physical memory into small, fixed-size blocks called pages (typically 4KB). When a program needs to access its virtual memory, the MMU looks up the corresponding physical page. But what if the required page isn’t in RAM because RAM is full?</p><p>This is where the illusion gets its depth. The OS uses a portion of your much larger, but slower, hard drive or SSD (the &quot;swap file&quot; or &quot;page file&quot;) as an overflow parking lot. It quietly moves (&quot;pages out&quot;) infrequently used pages from RAM to disk to free up space, then brings (&quot;pages in&quot;) the needed pages from disk back to RAM when required.</p><p>To the program, all its memory is always &quot;there&quot; and accessible. In reality, the OS is a relentless juggler, constantly swapping pages between fast RAM and slow disk, ensuring the active parts of all programs are in physical memory for performance.</p><p>2. Segmentation and Page Tables: The Master Index<br>Each process gets its own page table, a map maintained by the OS that translates virtual pages to physical locations (either in RAM or on disk). The MMU uses this table for every memory access. This also provides critical benefits:</p><p>· Isolation &amp; Security: A process cannot access another process’s memory because its page table doesn’t contain those mappings. This prevents crashes and malware from spreading.<br>· Efficiency: Physical memory can be used flexibly. Scattered free pages can be used to present the illusion of a single, contiguous block to the program.<br>· Simplification: Programmers can compile and develop software as if they have a vast, simple memory space to work with, without worrying about the physical constraints.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a82686474832" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>