<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>paging &#8211; Wade Tregaskis</title>
	<atom:link href="https://wadetregaskis.com/tags/paging/feed/" rel="self" type="application/rss+xml" />
	<link>https://wadetregaskis.com</link>
	<description></description>
	<lastBuildDate>Tue, 02 Jan 2024 16:31:12 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://wadetregaskis.com/wp-content/uploads/2016/03/Stitch-512x512-1-256x256.png</url>
	<title>paging &#8211; Wade Tregaskis</title>
	<link>https://wadetregaskis.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">226351702</site>	<item>
		<title>Your system has run out of application memory HUR HUR HUR</title>
		<link>https://wadetregaskis.com/your-system-has-run-out-of-application-memory-hur-hur-hur/</link>
					<comments>https://wadetregaskis.com/your-system-has-run-out-of-application-memory-hur-hur-hur/#respond</comments>
		
		<dc:creator><![CDATA[]]></dc:creator>
		<pubDate>Tue, 16 May 2017 17:22:47 +0000</pubDate>
				<category><![CDATA[Ramblings]]></category>
		<category><![CDATA[Broken by design]]></category>
		<category><![CDATA[Bugs!]]></category>
		<category><![CDATA[deadlock]]></category>
		<category><![CDATA[disk space]]></category>
		<category><![CDATA[hung]]></category>
		<category><![CDATA[killall]]></category>
		<category><![CDATA[lies]]></category>
		<category><![CDATA[Lightroom]]></category>
		<category><![CDATA[macOS]]></category>
		<category><![CDATA[paging]]></category>
		<category><![CDATA[paused]]></category>
		<category><![CDATA[RAM]]></category>
		<category><![CDATA[Sad]]></category>
		<category><![CDATA[SIGCONT]]></category>
		<category><![CDATA[SIGSTOP]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[What do you want?]]></category>
		<guid isPermaLink="false">https://blog.wadetregaskis.com/?p=3913</guid>

					<description><![CDATA[I hate this dialog with the fire&#160;of a thousand suns. When this appears, it basically means one (or both) of two things: Quitting any of the listed applications is rarely the correct move. &#160;It&#8217;s often enough the case that none of them are the root cause, and you can kill all of them if you&#8230; <a class="read-more-link" href="https://wadetregaskis.com/your-system-has-run-out-of-application-memory-hur-hur-hur/" data-wpel-link="internal">Read more</a>]]></description>
										<content:encoded><![CDATA[<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img fetchpriority="high" decoding="async" width="1078" height="944" src="https://wadetregaskis.com/wp-content/uploads/2017/05/22Your-system-has-run-out-of-application-memory22-dialog.webp" alt="" class="wp-image-3914" style="width:539px" srcset="https://wadetregaskis.com/wp-content/uploads/2017/05/22Your-system-has-run-out-of-application-memory22-dialog.webp 1078w, https://wadetregaskis.com/wp-content/uploads/2017/05/22Your-system-has-run-out-of-application-memory22-dialog-512x448@2x.webp 1024w, https://wadetregaskis.com/wp-content/uploads/2017/05/22Your-system-has-run-out-of-application-memory22-dialog-256x224.webp 256w, https://wadetregaskis.com/wp-content/uploads/2017/05/22Your-system-has-run-out-of-application-memory22-dialog-512x448.webp 512w" sizes="(max-width: 1078px) 100vw, 1078px" /></figure>
</div>


<p>I hate this dialog with the fire&nbsp;of a thousand suns.</p>



<p>When this appears, it basically means one (or both) of two things:</p>



<ol class="wp-block-list">
<li>Some application went nuts and chewed through all your memory and/or disk space.</li>



<li>macOS got itself into a darkly comical &amp; embarrassing deadlock.</li>
</ol>



<p>Quitting any of the listed applications is rarely the correct move. &nbsp;It&#8217;s often enough the case that none of them are the root cause, and you can kill all of them if you want, but it won&#8217;t fix the problem.</p>



<p>One important thing to clarify first, though, is that this dialog does&nbsp;<em>not</em>&nbsp;necessarily use the term &#8216;memory&#8217; in the conventional sense &#8211; i.e. RAM. &nbsp;It&nbsp;can&nbsp;<em>also</em>&nbsp;refer to disk space. &nbsp;Unfortunately it doesn&#8217;t bother to distinguish between the two, which is particularly stupid of it since any possible resolution of the issue is&nbsp;<em>highly</em> dependent on which of the two cases it in fact is.</p>



<p>Thank goodness for iStatMenus, though, which in the most recent incident showed that I had ~20 GiB of RAM completely free (not even inactive, actually outright free). &nbsp;So immediately that rules out what the daft bloody dialog&#8217;s actually saying.</p>



<p>The worst thing about all this is when it&#8217;s #2 the occurs. &nbsp;For example, I had Lightroom do a 63-image panorama merge. &nbsp;As Lightroom is a gross memory pig when doing panorama merging, it consumed something like 40 GiB of memory. &nbsp;Which caused a bunch of stuff to page&nbsp;to disk. &nbsp;Which consumed all the disk space. &nbsp;Which led to that obnoxious dialog. &nbsp;Which&nbsp;<em>further</em> led to macOS in its infinite fucking wisdom &#8216;pausing&#8217; (SIGSTOPing) almost all running programs,&nbsp;<em>including</em> evidently whatever daemon actually handles paging. &nbsp;Thus when Lightroom actually completed the panorama merge&nbsp;and released all that memory, I now had 20 GiB of free memory and the system refused to use any of it to page back in all that memory it&#8217;d paged out. &nbsp;Because it was out of disk space.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" width="499" height="332" src="https://wadetregaskis.com/wp-content/uploads/2024/01/Tense.avif" alt="" class="wp-image-7320"/></figure>
</div>


<p>The only solution &#8211; short of hard rebooting and hoping it resolves itself &#8211; was to delete a bunch of files I actually do still&nbsp;want, but which will now have to be&nbsp;recovered from a backup. &nbsp;Great job macOS, thanks for all your help.</p>



<p>Of course, even once you do that and recover the system from the derpeche mode it put itself into, it won&#8217;t actually&nbsp;<em>unpause</em> any of the shit it broke. &nbsp;You have to do that manually. &nbsp;It pretends you can do that via that dialog that started the whole thing &#8211; assuming you left it open the entire time, blocking your view as you <em>actually</em> help the situation &#8211;&nbsp;but that only shows user-visible applications, not all the other system &amp; background processes that it&nbsp;<em>also</em> rudely halted.</p>



<p>So, simple tip for resuming everything:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p><code>sudo killall -CONT -m '.'</code></p>
</blockquote>



<p>Elegant, after a fashion. &nbsp;Though every time, it reminds me that whomever named it &#8216;killall&#8217; was either not very friendly or not very wise.</p>



<p>Note that the system will probably still be a bit broken in places, as despite what macOS thinks, you can&#8217;t just blindly pause random system tasks and not have things get really, really confused. &nbsp;A reboot is always wise after seeing this dialog, to properly undo its fuckery.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wadetregaskis.com/your-system-has-run-out-of-application-memory-hur-hur-hur/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			<media:content url="https://wadetregaskis.com/wp-content/uploads/2017/05/22Your-system-has-run-out-of-application-memory22-dialog.webp" medium="image" />
<post-id xmlns="com-wordpress:feed-additions:1">3913</post-id>	</item>
	</channel>
</rss>
