Benches macOS

11

"Startup disk has no more space available…

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

"Your Mac OS X startup disk has no more space available for application memory."

This error has started since making an upgrade to 10.5.6 on my Dual 2GHz G5 with 3GB memory.

I'm not doing anything particularly taxing on the computer at the time this error pops up. It's not like I'm running Google Earth, Photoshop, Lightroom, Safari, Firefox, Mail, Word, Excel, MySQL, Apache, etc with more than one user logged in -- though I've done that in the past with no problems. This can happen with Safari, iTunes, Mail and a couple small apps running such as TextWrangler. No consistency I can see as to the source of the problem.

The computer's been restarted a few times to no avail.

I reset the "Startup Disk" per a recommendation in the Macosxhints forum given to another with a similar problem. No difference.

The console log is showing a bunch of strange and apparently unrelated messages I'd never noticed before, though this one looks suspicious:

1/7/09 8:57:30 PM com.apple.dynamic_pager[47] Notice dynamic_pager: cannot extend paging file size /private/var/vm/swapfile0 to 67108864!

1/7/09 8:57:30 PM com.apple.launchd[1] Warning (com.apple.dynamic_pager[47]) Exited with exit code: 1

Ideas?

11 replies

Sign in or join Beachball Help to reply.

  1. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    yes, those console entries look mighty suspicious.

    run this in terminal and post the results

    defaults read /System/Library/LaunchDaemons/com.apple.dynamic_pager

    also, look at the activity monitor->system memory tab when you are seeing these messages. do you have a lot of pageouts? is all RAM being used up? what's the reported swap file size?

    btw, are you using secure virtual memory?

    Message was edited by: V.K.

  2. 0

    KJK555

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    sounds like a corrupt swapfile or maybe a corrupt com.apple.dynamic_pager.plist file that is of

    course assuming you are not running out of disk space.

    http://www.manpagez.com/man/8/dynamic_pager/osx-10.4.php

    http://cestdelamerde.com/archives/22-Killing-Mac-OS-X-Swapping-How-To-Disable-dy namic_pager.html

    http://www.xlr8yourmac.com/feedback/leopardswapfile.html

  3. 0

    Jon Milan

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    defaults read /System/Library/LaunchDaemons/com.apple.dynamic_pager

    {

    Label = "com.apple.dynamic_pager";

    OnDemand = 0;

    ProgramArguments = (

    "/sbin/dynamic_pager",

    "-F",

    "/private/var/vm/swapfile"

    );

    }

    ----

    Interestingly, here's the vm directory:

    sh-3.2# ls -la /private/var/vm

    total 131072

    drwxr-xr-x 4 root wheel 136 Jan 8 19:40 .

    drwxr-xr-x 27 root wheel 918 Mar 2 2008 ..

    drwx--x--x 26 root wheel 884 Feb 21 2008 app_profile

    -rw------T 1 root wheel 67108864 Jan 7 21:35 swapfile0

    Seems perhaps I'm fine until the dynamic_pager sees I need to start swapping, then can't find the swapfile! I will bet this parameter changed during the upgrade to 10.5.6 ...

    I'll check the memory activity next time this happens, though the system becomes nearly unusable at the same time.

  4. 0

    Jon Milan

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks for the link to the nicely formatted Man pages, I really miss my hard copies, though the SVID is often useful.

    It does seem likely my 3GB RAM is sufficient for a while, and the dynamic pager kicks in trying to use the WRONG swapfile. (I have swapfile0, not swapfile).

  5. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Jon Milan wrote:

    defaults read /System/Library/LaunchDaemons/com.apple.dynamic_pager

    {

    Label = "com.apple.dynamic_pager";

    OnDemand = 0;

    ProgramArguments = (

    "/sbin/dynamic_pager",

    "-F",

    "/private/var/vm/swapfile"

    );

    }

    this looks ok.

    ----

    Interestingly, here's the vm directory:

    sh-3.2# ls -la /private/var/vm

    total 131072

    drwxr-xr-x 4 root wheel 136 Jan 8 19:40 .

    drwxr-xr-x 27 root wheel 918 Mar 2 2008 ..

    drwx--x--x 26 root wheel 884 Feb 21 2008 app_profile

    -rw------T 1 root wheel 67108864 Jan 7 21:35 swapfile0

    I don't have app_profile (don't know what that is) in my /private/var/vm but everything else is the same. How much free space do you have on your hard drive?

  6. 0

    adhuston

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Definitely sounds like a swap file problem to me. You might want to try downloading applejack,http://applejack.sourceforge.net/ . Reboot your machine and at the apple startup screen hold down command s to get into single user mode. Type applejack and run the swap file clear command. I have had to do that a couple times. Hope that helps!!

  7. 0

    Jon Milan

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I have 60 GB free space on this drive.

    Isn't it odd the plist says
    swapfile and the real name is
    swapfile0 ?

    For the moment, my real memory is about 5% free...

  8. 0

    adhuston

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    To get a sense of what may be happening try opening the terminal and type the top command. That will show you a detailed list of what is running, your memory status, and the swap file pages.

  9. 0

    Jon Milan

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Top is one of those neat applications that can sometimes get in the way since it's a memory hog. +Activity Monitor+ appears more efficient, btw.

  10. 0

    KJK555

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    "Isn't it odd the plist says swapfile and the real name is swapfile0 ?"

    Maybe, but that is normal. the dynamic_pager daemon does name the swapfile with a number at the

    end because it may create more than one swapfile in normal use. The next swapfile in line of course

    would be named "swapfile1".

    Kj

  11. 0

    Spence

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I am working on an iMac G5 that has the same issue, 120GB disk, approximately 80GB free.

    Frequent "Startup disk has no more space available" messages.

    Activity Monitor starts with 1/3 of the disk available. 2GB RAM, swap space of 40GB.

    Once the disk message shows up, Activity monitor shows 75% of the disk used and then it bounces between 100% and 75% within the span of a few seconds. I will try the Applejack solution and see if that works.

    Very Funky.