<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jonathan&#039;s blog &#187; memory</title>
	<atom:link href="http://blog.jonathangazeley.com/tag/memory/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jonathangazeley.com</link>
	<description>A journal of Linux, gadgets, and their incompatibility. And other stuff.</description>
	<lastBuildDate>Sun, 05 Feb 2012 22:34:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Temporary Linux swap in user space</title>
		<link>http://blog.jonathangazeley.com/2011/08/temporary-linux-swap-in-user-space/</link>
		<comments>http://blog.jonathangazeley.com/2011/08/temporary-linux-swap-in-user-space/#comments</comments>
		<pubDate>Mon, 29 Aug 2011 20:45:48 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[swap]]></category>
		<category><![CDATA[temp]]></category>
		<category><![CDATA[temporary]]></category>

		<guid isPermaLink="false">http://blog.jonathangazeley.com/?p=1406</guid>
		<description><![CDATA[Once in a while, you might run into a situation where you need some extra RAM (or swap) for a short time. (I ran into this situation today while stitching some really enormous images in Hugin). Adding a new swap partition isn&#8217;t practical if you only need the extra swap space for a short time. [...]]]></description>
			<content:encoded><![CDATA[<p>Once in a while, you might run into a situation where you need some extra RAM (or swap) for a short time. (I ran into this situation today while stitching some <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3Bob3Rvcy5qb25hdGhhbmdhemVsZXkuY29tLzIwMTEvMDgvYS1wYW5vcmFtYS1vZi1icmlzdG9sLw==">really enormous images</a> in <a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2h1Z2luLnNvdXJjZWZvcmdlLm5ldC8=">Hugin</a>). Adding a new swap partition isn&#8217;t practical if you only need the extra swap space for a short time.</p>
<p>If you have enough space in your home directory (or elsewhere on your filesystem) then you can use this as a temporary swap file without making a partition.</p>
<p>First we allocate the file that will be used as swap. This is where we set the size. In this example, I&#8217;ve chosen 10GB.</p>
<blockquote><p><code>truncate -s 10G ~/tempswap</code></p></blockquote>
<p>Now we tell this file to be a swap file:</p>
<blockquote><p><code>mkswap ~/tempswap</code></p></blockquote>
<p>And finally we can tell our system to use the new swap file (on top of any existing swap files):</p>
<blockquote><p><code>sudo swapon ~/tempswap</code></p></blockquote>
<p>To check on your memory and swap availability and usage, try:</p>
<blockquote><p><code>free -m</code></p></blockquote>
<p>This swap file won&#8217;t be used as swap on next boot unless you add it to your <code>/etc/fstab</code>, but you&#8217;ll still have to delete the file to get the space back. To clear up after yourself manually, do this:</p>
<blockquote><p><code>sudo swapoff ~/tempswap<br />
rm ~/tempswap</code></p></blockquote>
 <img src="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1406" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.jonathangazeley.com/2011/08/temporary-linux-swap-in-user-space/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An unlikely correlation</title>
		<link>http://blog.jonathangazeley.com/2010/02/an-unlikely-correlation/</link>
		<comments>http://blog.jonathangazeley.com/2010/02/an-unlikely-correlation/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 17:28:37 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[graph]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[RRD]]></category>
		<category><![CDATA[temperature]]></category>

		<guid isPermaLink="false">http://blog.jonathangazeley.com/?p=697</guid>
		<description><![CDATA[I just spotted that my Nagios/RRD graphs of my home server are showing a strange correlation. From these graphs, it seems that the higher the outdoor temperature, the more free memory the system has available. I&#8217;m sure this is just a coincidence, though&#8230;]]></description>
			<content:encoded><![CDATA[<p>I just spotted that my Nagios/RRD graphs of my home server are showing a strange correlation.</p>
<p>From these graphs, it seems that the higher the outdoor temperature, the more free memory the system has available. I&#8217;m sure this is just a coincidence, though&#8230;</p>
<p style="text-align: center;">
<div id="attachment_698" class="wp-caption aligncenter" style="width: 591px"><a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2Jsb2cuam9uYXRoYW5nYXplbGV5LmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAxMC8wMi9vdXR0ZW1wLnBuZw=="><img class="size-full wp-image-698 " title="Outdoor temperature" src="http://blog.jonathangazeley.com/wp-content/uploads/2010/02/outtemp.png" alt="" width="581" height="202" /></a><p class="wp-caption-text">Outdoor temperature</p></div>
<div id="attachment_699" class="wp-caption aligncenter" style="width: 607px"><a href="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2Jsb2cuam9uYXRoYW5nYXplbGV5LmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAxMC8wMi9tZW1vcnkucG5n"><img class="size-full wp-image-699" title="Free memory" src="http://blog.jonathangazeley.com/wp-content/uploads/2010/02/memory.png" alt="" width="597" height="202" /></a><p class="wp-caption-text">Free memory</p></div>
 <img src="http://blog.jonathangazeley.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=697" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.jonathangazeley.com/2010/02/an-unlikely-correlation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

