<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Shiv Kumar Mishra</title>
    <description>The latest articles on DEV Community by Shiv Kumar Mishra (@shiv_kumarmishra_7954d27).</description>
    <link>https://dev.to/shiv_kumarmishra_7954d27</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3799608%2Fc735faa4-ba49-4b24-acb1-4fcbb81ecd6e.png</url>
      <title>DEV Community: Shiv Kumar Mishra</title>
      <link>https://dev.to/shiv_kumarmishra_7954d27</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shiv_kumarmishra_7954d27"/>
    <language>en</language>
    <item>
      <title>Memopt++:Adaptive Linux Memory Governor (C++)</title>
      <dc:creator>Shiv Kumar Mishra</dc:creator>
      <pubDate>Sun, 01 Mar 2026 08:19:13 +0000</pubDate>
      <link>https://dev.to/shiv_kumarmishra_7954d27/memoptadaptive-linux-memory-governor-c-1871</link>
      <guid>https://dev.to/shiv_kumarmishra_7954d27/memoptadaptive-linux-memory-governor-c-1871</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi9rwy80c5iup1frdq4sv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi9rwy80c5iup1frdq4sv.png" alt=" " width="800" height="507"&gt;&lt;/a&gt;A small tool called Memopt++ to help prevent Linux systems from slowing down or hitting OOM under heavy workloads.&lt;/p&gt;

&lt;p&gt;It monitors memory pressure in real time and reacts early by:&lt;/p&gt;

&lt;p&gt;Applying memory limits to heavy apps using cgroups v2&lt;/p&gt;

&lt;p&gt;Compressing inactive memory with ZRAM&lt;/p&gt;

&lt;p&gt;Merging duplicate pages using KSM&lt;/p&gt;

&lt;p&gt;Scaling control automatically as pressure increases&lt;/p&gt;

&lt;p&gt;Example: On an 8GB machine with 20+ browser tabs + Docker, instead of RAM jumping to 95% and freezing, it stabilizes usage earlier.&lt;/p&gt;

&lt;p&gt;It doesn’t add more RAM it just manages it smarter.&lt;/p&gt;

&lt;p&gt;Repo: &lt;a href="https://github.com/Shivfun99/shiv-memopt" rel="noopener noreferrer"&gt;https://github.com/Shivfun99/shiv-memopt&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Open to feedback / suggestions.&lt;a href="url"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb2xveqvo1xzxpfmcz7xe.png" alt=" " width="800" height="485"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>opensource</category>
      <category>ai</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
