Skip navigation

Messages Out of Control Memory Usage

580 Views 5 Replies Latest reply: Feb 6, 2013 11:05 AM by Ralph Johns (UK) RSS
csecure Calculating status...
Currently Being Moderated
Feb 4, 2013 11:38 AM

There seems to be some bug in the Messages app which causes it to use several GB of memory.  I notice when my whole system slows down, and then I open up activity monitor, see Messages mem consumption at 2-6GB, force quite, and then things go back to normal. 

 

My temporary solution is to fully quit the app when I'm not using it.  But that seems like a bad solution, sometimes I forget etc.

 

I'm running 10.8.2, macbook pro, 8gb of mem.  I've submitted a crash dump to apple.

 

----

 

This past week my wife (Macbook air, 4gb mem, 10.8.2) started seeing strange messages about memory running low at the system level.  I didn't fully explore, but noticed she didn't have any disk space left, then did a "sudo du -h -d1 /" to check where the big files were and traced it to a HUGE swap file.  40ish GB.  By that time I had already killed a few processes (including messages) and things started to go back to normal, a few GB returned to being free.  Doing a reboot freed up all 40GB of consumed swap space.

 

While I can't say for sure, this seems like the Messages app going out of control and consuming a large amount of memory.  And that mem getting stuck out in the swap space.

 

----

 

That being said - I can't find any other reference to this problem?  Has anyone else noticed this?  Is there some solution? 

 

One final note - we are only using iMessage (no other protocol) and sync with our phones.

 

Any advice/references are welcome

MacBook Pro, OS X Mountain Lion (10.8.2)
  • Ralph Johns (UK) Level 9 Level 9 (66,835 points)
    Currently Being Moderated
    Feb 5, 2013 1:54 PM (in response to csecure)

    Hi,

     

    I also seem to remember reading onw other post about this but strangely not the one you linked to.

     

    I seems to recall that the person just added more RAM and solved it that way.

    1) It is relatively expensive for a fix

    2) he had space to add more RAM which not everyone can do.

     

    As the issue does not happen in iChat it would seem that the iMessages side is more likely to be the cause as you suggest.

     

    IMAgent does not handle the iMessages login (So the other thread may have a different issue)

    A more global view is that something with the messaging apps overall is the key item and it is showing as being related to different apps at different times

     

    For example vcencoder is the video production framework that gets started in iChat or in Messages "iChat Style" Video chats  (those to Buddies rather than Contacts).

    The vcencoder is also used by  Facetime  (it's why the camera can do FaceTime and "iChat Style" video chats at the same time is some OS versions).

     

    For myself, I quit all apps and Shut Down the computer each evening and I have not seen this.

    I would be interested to see if Sleep and Wake cycles  seem to increase the Swap files.

    I am wondering if a part or the Messages app cannot re-establish a connection at Wake and starts another internal thread leaving one in a loop.

     

     

    3Sigcopy2.png
    9:54 PM      Tuesday; February 5, 2013


    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

     

      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Ralph Johns (UK) Level 9 Level 9 (66,835 points)
    Currently Being Moderated
    Feb 5, 2013 2:12 PM (in response to csecure)

    HI,

     

    As Messages is built on the iChat engine I have been suggesting people feedback here http://www.apple.com/feedback/ichat.html

     

    Apple use a drop down for the iChat Version number and another for the OS version.

    They have done s better job more recently on the OS front but are next to useless on the iChat Version Numbers.

    Enter your info in the Free text area.

     

    You will not get a reply.

    Any response also will not be instant as it has to filter through the Developer's testing cycle, but I have found is relatively effective in the past.

    I tend to List any Thread here as additional info.

     

    It did used to be that with faster processors some apps could "restart" at Wake faster than a network and therefore Internet access could be re-established and would fail to reconnect.

    It would seem there is at least some from of either delay or "retry"  built-in now.

    I rarely use Sleep myself (Computerwise)

     

    3Sigcopy2.png
    10:09 PM      Tuesday; February 5, 2013


    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

     

      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Ralph Johns (UK) Level 9 Level 9 (66,835 points)
    Currently Being Moderated
    Feb 6, 2013 11:05 AM (in response to Ralph Johns (UK))

    4thanx.gif For the Points  1helpful.png

    3Sigcopy2.png
    7:05 PM      Wednesday; February 6, 2013


    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

     

      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

    "Limit the Logs to the Bits above Binary Images."  No, Seriously

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.