<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Memory-Management on LinuxHosted.com</title><link>https://www.linuxhosted.com/tags/memory-management/</link><description>Recent content in Memory-Management on LinuxHosted.com</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>LinuxHosted.com</copyright><lastBuildDate>Fri, 11 Sep 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.linuxhosted.com/tags/memory-management/index.xml" rel="self" type="application/rss+xml"/><item><title>How to Add a Swap File on a Linux VPS</title><link>https://www.linuxhosted.com/post/how-to-add-swap-file-linux-vps/</link><pubDate>Fri, 11 Sep 2026 00:00:00 +0000</pubDate><guid>https://www.linuxhosted.com/post/how-to-add-swap-file-linux-vps/</guid><description>
&lt;p&gt;Every VPS plan advertises a fixed amount of RAM, and sooner or later something on that server needs more than the plan provides — a backup job, a batch import, a burst of concurrent requests that all land at once. Without a safety net, the kernel's out-of-memory handling starts ending processes to keep the system alive, and it doesn't always pick the process you'd have chosen. A swap file gives the kernel somewhere else to put memory pages before it gets to that point, and setting one up takes a handful of commands and about fifteen minutes. This guide creates a swap file, activates it, makes it survive a reboot, and tunes how eagerly the kernel actually reaches for it.&lt;/p&gt;</description></item></channel></rss>