11 Replies Latest reply: Jun 14, 2013 9:49 AM by Frank Caggiano
wsrphoto Level 1 Level 1 (30 points)

I upgraded to OS-X 10.8.4 and since then I'm curious about why it's using more active memory a few days later. When I rebooted I wrote down the memory allocation for three stages immediately after reboot, which are my initial state (console, activity monitor and terminal window), my initial work state (same with mail and Safari), and my initial user state (same with ~20 menubar apps).

 

So when I quit everything, run the purge command and return to my initial state, the activity monitor shows 1.5 GBytes more than the initial state when I reboot, of which 0.4 GB is additional wired and 1.1 GB is additional active. This is weird since the initial state after rebooting shows only 1.0 GB for active memory but 2.0 GB for active memory after the purge command now.

 

I'm courious if this is right and where is the missing extra ~1 GB of active memory when all the apps are closed except the initial state apps (above). I understand the additional wired memory, it's visible in the daemons in the activity monitor (kernal task and mds), but where is the missing 1 GB of active memory? Is it really active or some other capacity in 10.8.4 not shown in the activity monitor.

  • 1. Re: Unaccounted memory
    babowa Level 7 Level 7 (23,300 points)

    Since switching to 64 bit, kernel task consumes far more RAM than previously - in my case, with only the browser open, about 1 GB. I sent a bug report to Apple and their answer was: it is working as expected due to the 64 bit architecture.

     

    This prompted me to increase my RAM and no more kernel panics, spinning beachballs, etc. I'd consider 4 GB the absolute minimum with Lion and ML - 8 or more is better (depending on what you use).

  • 2. Re: Unaccounted memory
    wsrphoto Level 1 Level 1 (30 points)

    Thanks, but eating 1 GB in a few days is "working as expected"? Shouldn't you be able to return to an near initial state closing all the apps except a few basic ones and running the purge command? I'm running 16 GB so memory isn't a problem but this is new to 10.8.4. I didn't see this with 10.8.3 where it would return to near the intial active memory size.

  • 3. Re: Unaccounted memory
    babowa Level 7 Level 7 (23,300 points)

    Who am I to argue with Apple's engineers, LOL Seriously, why don't you send them feedback:

     

    http://www.apple.com/feedback/

  • 4. Re: Unaccounted memory
    wsrphoto Level 1 Level 1 (30 points)

    I found some of the unaccounted for memory. If you open the Apple App store app/window it starts a "installd" daemon to track updates to your apps. I'm not sure if it's supposed to kill itself if you quit the App store window, but it doesn't for me and then sits there at 500+ MB's. The wired memory seems to max out at 1.3 GB's. There's another few hundred megabytes I've haven't found yet because I haven't launched, used and closed a lot of heavy use apps (eg. Adobe CS-series) since the first time.

     

    My question is if I don't have the App store app/window open (active or hid) can I kill this daemon and it will recreate itself when I open the App store app/window?

  • 5. Re: Unaccounted memory
    babowa Level 7 Level 7 (23,300 points)

    I've checked it twice now - do not see an installd in Activity monitor; however, when launching App Store, it does show the "storeagent" launching itself - which is the process Apple told me would be checking my hard drive. That is supposed to quit when quitting App Store, but I just noticed now that it does not (it used to in Lion) - I quit App Store twice and each time storeagent still sits there. It is no longer consuming any CPU and is only using +/- 11 MB, so I will leave it for now, but will most likely file a bug report with Apple. If your process has to do with App Store, you should be able to kill it when done with the store - I can't say it'll work since I don't have it, so I can't try it. I have quit the storeagent and it has launched itself again the next time.

  • 6. Re: Unaccounted memory
    Frank Caggiano Level 7 Level 7 (23,830 points)

    Are you experiencing problems with your system? If not there is little to be gained by what you are doing.

     

    If you are having problems then post the problems you are having and hopefully a resolution can be found.

     

    regards

  • 7. Re: Unaccounted memory
    wsrphoto Level 1 Level 1 (30 points)

    Did you install or update any app through the App store? I only get the installd when I update apps, otherwise it's not there, but then I only open the App store to update apps. I'm just curious why it sits there at 500+ MB's. It's not a problem and probably normal for 10.8.4 (to Frank Caggiano), it just uses memory which isn't needed except by the App store (that I can tell), and am curious if killing it hurts anything. For now I just reboot.

  • 8. Re: Unaccounted memory
    Frank Caggiano Level 7 Level 7 (23,830 points)

    Again if you are not experiencing any problems why do you care? If it is using memory ( and that's a big if)  then it  must need it. If the system needs the memory then it will reclaim it.

     

    If your system is paging and/or swapping then you either need to reduce the number of running applications or increase the amount of memory in the system.

     

    But you haven't indicated that this is the case.

  • 9. Re: Unaccounted memory
    babowa Level 7 Level 7 (23,300 points)

    Ahh, maybe that's it - I do not do business at the app store - period, except for the OS which I am forced to get there.

  • 10. Re: Unaccounted memory
    wsrphoto Level 1 Level 1 (30 points)

    It's not a memory issue or a problem per se with the Mac Pro or paging issue, but 500 MB's sitting there not doing anything after it's done with the App store. At 500 MB's why not kill it or move it to inactive memory like iTunes album artwork where it can be removed and recreated on demand.

  • 11. Re: Unaccounted memory
    Frank Caggiano Level 7 Level 7 (23,830 points)

    I can understand your curiosity but again to be honest if the system is not having any problems and is not excessively paging or swapping this is noting more then an intellectual pursuit

     

    good luck

     

    regards