out of application memory

Been troubleshooting an iMac 27" Mid 2011 for friends with a design studio. The machine was running out of application memory in seconds despite having 12 GB ram and lots of free disk space. I've seen reports of similar problems with Mavericks setups. I have been an Apple dev since 1987 and have seen a lot, but this is the worst I've seen. I have been able to calm it down a little, but it is still not 100%. The machine in question qualified for a new logic board and video card update which was duly installed by Apple certified techs. It has spent hours running diagnostic checks. At one stage it refused to turn on, took it back to the repair shop. They plugged it in and it worked and more diagnostics revealed nothing untoward. So ok back to me.

Trying to work with machines in this state is difficult and I thought I'd share the steps I took to try to improve the situation.

Obviously normal Apple Diagnostic tests were not revealing the cause of the behaviour.


I searched for others with similar issues, and looked at the advice. BTW I found Linc Davis to be contributing his usual thoughtful experience to this and would recommend reading his take on this and other issues.


This behaviour reminded me of fixing virus infested machines. To keep the machine alive long enough to add Anti Virus software I set Terminal to start at login. Then I was able to run Top and observe the insane processes in real time. [Activity Monitor was a no go at this point] By killing the stuck processes it gave me enough time to download install Sophos, and work on the iMac. Sophos found some virus infected email attachments and dealt with them.


Backed up the machine

Reset the SMC

Reset the parameter ram

Started up from Mavericks Recovery DIsk and from there used Disk Utility to repair permissions and check the disc.


The machine was running Mavericks 10.9.2 and decided to reinstall Mavericks. You can go back to 10.9. I had previously saved Mountain Lion and Mavericks installs on an external drive. You can install over the net - but a much longer process and not for flaky machines. Amazingly the iMac was stable throughout the Mavericks reinstall and it was successful.


It's early days but the iMac is much better. The designers mostly use Photoshop, Illustrator, Apple Mail and Safari. They work with large images for print and need fast solid machines. Interestingly as a side note, the machine was solid for a few hours and I tried to fire up Photoshop to give it a real test. Photoshop needed to install a java runtime to function? Ok installed java runtime. Opened Photoshop. Worked for a little then Crash. Grey screen of death.

One step forward two steps back. Time to let the designers have a go again.They can make it crash good. Would recommend new MacPro's for them but Adobe hasn't got its act together to take advantage of the power available, so staying with iMacs for now.


Model Name: iMac

Model Identifier: iMac12,2

Processor Name: Intel Core i5

Processor Speed: 2.7 GHz

Number of Processors: 1

Total Number of Cores: 4

L2 Cache (per Core): 256 KB

L3 Cache: 6 MB

Memory: 12 GB

Boot ROM Version: IM121.0047.B1F

SMC Version (system): 1.72f2



System Version: OS X 10.9 (13A603)

Kernel Version: Darwin 13.0.0

Boot Mode: Normal


Model: iMac12,2


USB


USB Optical Mouse (Logitech Inc.)

MEDION MD 86360 (Medion AG)


System diagnostics


2014-03-31 PenTabletDriver crash

2014-03-31 PenTabletDriver crash

2014-03-31 SophosAutoUpdate crash

2014-03-31 mds crash

2014-03-31 mds_stores crash

2014-03-31 mds_stores crash

2014-03-31 mdworker crash

2014-03-31 mdworker crash

2014-04-01 Kernel panic

2014-04-01 PenTabletDriver crash


User diagnostics


2014-03-28 hiutil crash

2014-03-28 hiutil crash

2014-03-28 syncdefaultsd crash

2014-03-28 ubd crash

2014-03-29 Safari crash

2014-03-29 pkgutil crash

2014-03-31 CVMCompiler crash

2014-03-31 ReportCrash crash

2014-03-31 WiFiKeychainProxy crash

2014-04-01 Finder crash *


* Code injection


Kernel messages


Mar 31 18:38:51 hfs: mounted TIME on device disk2s6

--- last message repeated 1 time ---

Mar 31 18:46:45 hfs: unmount initiated on TIME on device disk2s6

Mar 31 18:46:47 hfs: mounted TIME on device disk2s6

Mar 31 20:00:05 hfs: unmount initiated on TIME on device disk2s6

Mar 31 20:00:20 hfs: mounted TIME on device disk2s6

Mar 31 20:03:46 hfs: unmount initiated on TIME on device disk2s6

Mar 31 20:05:47 hfs: mounted TIME on device disk2s6

Mar 31 20:05:50 hfs: unmount initiated on TIME on device disk2s6

Mar 31 20:06:06 hfs: mounted TIME on device disk2s6


Loaded extrinsic kernel extensions


com.sophos.nke.swi (9.0.53)

com.sophos.kext.sav (9.0.53)


Extrinsic daemons


com.sophos.webd

com.sophos.sxld

com.sophos.scan

com.sophos.notification

com.sophos.intercheck

com.sophos.configuration

com.sophos.autoupdate

com.promise.httpd

com.promise.emaild

com.promise.bgasched

com.adobe.fpsaud


Extrinsic agents


com.wacom.pentablet

com.sophos.uiserver

com.adobe.ARM.UUID


launchd items


/Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist

(com.adobe.AAM.Startup-1.0)

/Library/LaunchAgents/com.sophos.uiserver.plist

(com.sophos.uiserver)

/Library/LaunchAgents/com.wacom.pentablet.plist

(com.wacom.pentablet)

/Library/LaunchDaemons/com.adobe.fpsaud.plist

(com.adobe.fpsaud)

/Library/LaunchDaemons/com.adobe.SwitchBoard.plist

(com.adobe.SwitchBoard)

/Library/LaunchDaemons/com.promise.bgasched.plist

(com.promise.bgasched)

/Library/LaunchDaemons/com.promise.emaild.plist

(com.promise.emaild)

/Library/LaunchDaemons/com.promise.httpd.plist

(com.promise.httpd)

/Library/LaunchDaemons/com.sophos.autoupdate.plist

(com.sophos.autoupdate)

/Library/LaunchDaemons/com.sophos.configuration.plist

(com.sophos.configuration)

/Library/LaunchDaemons/com.sophos.intercheck.plist

(com.sophos.intercheck)

/Library/LaunchDaemons/com.sophos.notification.plist

(com.sophos.notification)

/Library/LaunchDaemons/com.sophos.scan.plist

(com.sophos.scan)

/Library/LaunchDaemons/com.sophos.sxld.plist

(com.sophos.sxld)

/Library/LaunchDaemons/com.sophos.webd.plist

(com.sophos.webd)

Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist

(com.adobe.AAM.Scheduler-1.0)

Library/LaunchAgents/com.adobe.ARM.UUID.plist

(com.adobe.ARM.UUID)


Extrinsic loadable bundles


/System/Library/Extensions/EPSONUSBPrintClass.kext

(com.epson.print.kext.USBPrintClass)

/System/Library/Extensions/Pen Tablet.kext

(com.wacom.kext.pentablet)

/System/Library/Extensions/TabletDriverCFPlugin.bundle

(No bundle ID)

/Library/Extensions/SophosNetworkInterceptor.kext

(com.sophos.nke.swi)

/Library/Extensions/SophosOnAccessInterceptor.kext

(com.sophos.kext.sav)

/Library/Internet Plug-Ins/AdobeAAMDetect.plugin

(com.AdobeAAMDetectLib.AdobeAAMDetect)

/Library/Internet Plug-Ins/AdobePDFViewer.plugin

(com.adobe.acrobat.pdfviewer)

/Library/Internet Plug-Ins/AdobePDFViewerNPAPI.plugin

(com.adobe.acrobat.pdfviewerNPAPI)

/Library/Internet Plug-Ins/Flash Player.plugin

(com.macromedia.Flash Player.plugin)

/Library/Internet Plug-Ins/JavaAppletPlugin.plugin

(com.apple.java.JavaAppletPlugin)

/Library/Internet Plug-Ins/WacomNetscape.plugin

(com.wacom.tabletplugin)

/Library/Internet Plug-Ins/WacomTabletPlugin.plugin

(com.WacomTabletPluginLib.WacomTabletPlugin)

/Library/PreferencePanes/Flash Player.prefPane

(com.adobe.flashplayerpreferences)

/Library/PreferencePanes/PenTablet.prefPane

(com.wacom.PenTabletSettingsPrefPane)

/Library/ScriptingAdditions/Adobe Unit Types.osax

(No bundle ID)


Modified periodic scripts


/etc/periodic/daily/110.clean-tmps

/etc/periodic/daily/130.clean-msgs

/etc/periodic/daily/140.clean-rwho

/etc/periodic/daily/199.clean-fax

/etc/periodic/daily/310.accounting

/etc/periodic/daily/400.status-disks

/etc/periodic/daily/420.status-network

/etc/periodic/daily/430.status-rwho

/etc/periodic/daily/999.local

/etc/periodic/monthly/199.rotate-fax

/etc/periodic/monthly/200.accounting

/etc/periodic/monthly/999.local

/etc/periodic/weekly/320.whatis

/etc/periodic/weekly/999.local


User login items


iTunesHelper

Dropbox


Restricted user files: 90


Elapsed time (s): 61

MacBook Pro (15-inch Early 2011), Mac OS X (10.7.4)

Posted on Mar 31, 2014 6:47 PM

Reply
11 replies

Mar 31, 2014 7:43 PM in response to dusty mcsheffrey

Hello,

Completely uninstall Sophos antivirus.


http://www.sophos.com/en-us/support/knowledgebase/119182.aspx


Antivirus software can slow down the normal operation of OS X and can negatively impact OS X performance and operations.


You need to update all of your third party software if there are OS X Mavericks updates that can be applied.

You may need to, ACTUALLY, go the third party developers' websites if there are no updates through the Mac App Store.


Update all of your Web browser Internet, extensions, add-ons and plugins, also.


Also, if you have any connected third party devices, like non-Apple keyboards, mice, drawing tablets, hubs, card readers, etc, you need to go to the device makers' websites to update the drivers for these devices to OS X Mavericks compatible versions, if available and applicable.


While we doing some needed house cleaning and updates,

If you so choose, Please download, install and run Etrecheck.

Etrecheck was developed as a simple Mac diagnostic reporting tool by a regular Apple Support forum user and technical support contributor named Etresoft. Etrecheck is a small, unobstrusive app that compiles a static snapshot of your entire Mac hardware system and installed software.

This is a free app that has been honestly created to provided help in diagnosing issues with Macs running the new OS X 10.9 Mavericks.

It is not malware and can be safely downloaded and installed onto your Mac.


http://www.etresoft.com/etrecheck


Copy/paste and post its report here in another reply thread so that we have a complete profile of your Mac's hardware and installed software so we can all help with your Mac performance issues.


Good Luck!

😉

Apr 1, 2014 12:48 AM in response to dusty mcsheffrey

There are no viruses ( as in some malicious software virus that can automatically install itself on a Mac without a user ever seeing or knowing that it has installed)on the Mac. Trojans and malware yes, but these need to have user intervention to be able to allow the installation and OS X offers some additonal protection built-in from these types of malicious attacks.

If you continue to use Sophos you will not get rid of your current issues.

Commercial Antivirus software can install all sorts of uneeded hooks into the OS X operating system causing all sorts of adverse and erroneous behaviour in Mac OS X.


If you can't have this Mac on a network without AV software, completely unistall Sophos and look to these as an alternative.


VIrusBarrierExpress

ClamXAV


ClamXAV is the only antivirus for a Mac that is the least intrusive into OS X's system and still offers some level of protection.


While you are at it take at look at these links about Macs, viruses and malware and the Safe Mac.


https://discussions.apple.com/docs/DOC-1982


http://www.thesafemac.com/mmg/

Apr 1, 2014 9:05 AM in response to dusty mcsheffrey

These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.

Launch the Console application in any of the following ways:


☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)


☞ In the Finder, select Go â–č Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.


☞ Open LaunchPad. Click Utilities, then Console in the icon grid.

Select the most recent panic report (with a name that begins with "Kernel" and ends in ".panic") under the heading System Diagnostic Reports on the left. If you don't see that heading, select


View â–č Show Log List

from the menu bar. Post the entire contents of the report — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post any other kind of diagnostic report, such as a hang report.

Apr 3, 2014 7:31 PM in response to Linc Davis

Thu Apr 3 17:47:32 2014

panic(cpu 0 caller 0xffffff8001edc19e): Kernel trap at 0xffffff8001ffa684, type 13=general protection, registers:

CR0: 0x000000008001003b, CR2: 0x00007fff79c633e0, CR3: 0x0000000003489002, CR4: 0x00000000000606e0

RAX: 0xffbfff801c6fbc00, RBX: 0xffffff8162dc3bb8, RCX: 0xffffff801c6dae08, RDX: 0xffffff8025cbfc30

RSP: 0xffffff8162dc3b50, RBP: 0xffffff8162dc3b50, RSI: 0xffffff801c116cd8, RDI: 0xffbfff801c6fbc00

R8: 0x0000000000000000, R9: 0x000000000000000b, R10: 0xffffff8162dc3900, R11: 0xffffff801e02bb20

R12: 0x0000000000000000, R13: 0xffffff8025cbfc30, R14: 0xffffff8025cbfc30, R15: 0xffffff8002502750

RFL: 0x0000000000010286, RIP: 0xffffff8001ffa684, CS: 0x0000000000000008, SS: 0x0000000000000010

Fault CR2: 0x00007fff79c633e0, Error code: 0x0000000000000000, Fault CPU: 0x0



Backtrace (CPU 0), Frame : Return Address

0xffffff8154910c50 : 0xffffff8001e22f69

0xffffff8154910cd0 : 0xffffff8001edc19e

0xffffff8154910ea0 : 0xffffff8001ef3606

0xffffff8154910ec0 : 0xffffff8001ffa684

0xffffff8162dc3b50 : 0xffffff800215fbcc

0xffffff8162dc3ba0 : 0xffffff8001fff2d2

0xffffff8162dc3bf0 : 0xffffff8001fdaab5

0xffffff8162dc3c30 : 0xffffff8001fc9899

0xffffff8162dc3c90 : 0xffffff8001fdb9c1

0xffffff8162dc3ce0 : 0xffffff8001fdaf60

0xffffff8162dc3d20 : 0xffffff8001fdb4c0

0xffffff8162dc3db0 : 0xffffff8001fe4287

0xffffff8162dc3e10 : 0xffffff8001fdc8ea

0xffffff8162dc3e50 : 0xffffff80021dba5a

0xffffff8162dc3ec0 : 0xffffff80021ea358

0xffffff8162dc3f50 : 0xffffff800223de23

0xffffff8162dc3fb0 : 0xffffff8001ef3e06



BSD process name corresponding to current thread: launchd



Mac OS version:

13A603



Kernel version:

Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64

Kernel UUID: 1D9369E3-D0A5-31B6-8D16-BFFBBB390393

Kernel slide: 0x0000000001c00000

Kernel text base: 0xffffff8001e00000

System model name: iMac12,2 (Mac-942B59F58194171B)



System uptime in nanoseconds: 573429658726

last loaded kext at 245574730081: com.apple.filesystems.msdosfs 1.9 (addr 0xffffff7f82768000, size 65536)

last unloaded kext at 368226394959: com.apple.driver.AppleUSBUHCI 650.4.0 (addr 0xffffff7f82a5c000, size 65536)

loaded kexts:

com.sophos.kext.sav 9.0.53

com.sophos.nke.swi 9.0.53

com.apple.filesystems.afpfs 11.0

com.apple.nke.asp-tcp 8.0.0

com.apple.filesystems.smbfs 2.0.0

com.apple.driver.AppleBluetoothMultitouch 80.14

com.apple.driver.AudioAUUC 1.60

com.apple.driver.AppleHWSensor 1.9.5d0

com.apple.filesystems.autofs 3.0

com.apple.iokit.IOBluetoothSerialManager 4.2.0f6

com.apple.driver.AGPM 100.14.11

com.apple.iokit.IOUserEthernet 1.0.0d1

com.apple.Dont_Steal_Mac_OS_X 7.0.0

com.apple.driver.AppleHWAccess 1

com.apple.driver.AppleMikeyHIDDriver 124

com.apple.driver.AppleUpstreamUserClient 3.5.13

com.apple.kext.AMDFramebuffer 1.1.4

com.apple.driver.AppleHDA 2.5.2fc2

com.apple.AMDRadeonX3000 1.1.4

com.apple.driver.AppleIntelHD3000Graphics 8.1.8

com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.2.0f6

com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0

com.apple.driver.AppleMikeyDriver 2.5.2fc2

com.apple.driver.AppleBacklight 170.3.5

com.apple.driver.AppleMCCSControl 1.1.12

com.apple.kext.AMD6000Controller 1.1.4

com.apple.driver.AppleSMCPDRC 1.0.0

com.apple.driver.AppleSMCLMU 2.0.4d1

com.apple.driver.AppleThunderboltIP 1.0.10

com.apple.driver.AppleLPC 1.7.0

com.apple.driver.AppleIntelSNBGraphicsFB 8.1.8

com.apple.driver.AppleIRController 325.7

com.apple.driver.AppleUSBCardReader 3.3.5

com.apple.iokit.SCSITaskUserClient 3.6.0

com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1

com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1

com.apple.BootCache 35

com.apple.driver.XsanFilter 404

com.apple.iokit.IOAHCIBlockStorage 2.4.0

com.apple.driver.AppleUSBHub 650.4.4

com.apple.driver.AirPort.Atheros40 700.74.5

com.apple.driver.AppleFWOHCI 4.9.9

com.apple.iokit.AppleBCM5701Ethernet 3.6.9b9

com.apple.driver.AppleAHCIPort 2.9.5

com.apple.driver.AppleUSBEHCI 650.4.1

com.apple.driver.AppleRTC 2.0

com.apple.driver.AppleACPIButtons 2.0

com.apple.driver.AppleHPET 1.8

com.apple.driver.AppleSMBIOS 2.0

com.apple.driver.AppleACPIEC 2.0

com.apple.driver.AppleAPIC 1.7

com.apple.driver.AppleIntelCPUPowerManagementClient 216.0.0

com.apple.nke.applicationfirewall 153

com.apple.security.quarantine 3

com.apple.driver.AppleIntelCPUPowerManagement 216.0.0

com.apple.security.SecureRemotePassword 1.0

com.apple.driver.AppleBluetoothHIDKeyboard 170.15

com.apple.driver.AppleHIDKeyboard 170.15

com.apple.driver.IOBluetoothHIDDriver 4.2.0f6

com.apple.driver.AppleMultitouchDriver 245.13

com.apple.kext.triggers 1.0

com.apple.iokit.IOSerialFamily 10.0.7

com.apple.iokit.IOSurface 91

com.apple.iokit.IOBluetoothFamily 4.2.0f6

com.apple.driver.DspFuncLib 2.5.2fc2

com.apple.vecLib.kext 1.0.0

com.apple.iokit.IOAudioFamily 1.9.4fc11

com.apple.kext.OSvKernDSPLib 1.14

com.apple.iokit.IOAcceleratorFamily 98.7.1

com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.2.0f6

com.apple.driver.IOPlatformPluginLegacy 1.0.0

com.apple.driver.AppleBacklightExpert 1.0.4

com.apple.iokit.IONDRVSupport 2.3.6

com.apple.kext.AMDSupport 1.1.4

com.apple.AppleGraphicsDeviceControl 3.4.12

com.apple.iokit.IOFireWireIP 2.2.5

com.apple.driver.AppleSMC 3.1.6d1

com.apple.driver.AppleSMBusController 1.0.11d1

com.apple.driver.AppleThunderboltEDMSink 1.2.1

com.apple.driver.AppleHDAController 2.5.2fc2

com.apple.iokit.IOHDAFamily 2.5.2fc2

com.apple.driver.AppleSMBusPCI 1.0.12d1

com.apple.driver.IOPlatformPluginFamily 5.5.1d27

com.apple.iokit.IOGraphicsFamily 2.3.6

com.apple.driver.AppleThunderboltDPOutAdapter 2.5.0

com.apple.driver.AppleThunderboltDPInAdapter 2.5.0

com.apple.driver.AppleThunderboltDPAdapterFamily 2.5.0

com.apple.driver.AppleThunderboltPCIDownAdapter 1.4.0

com.apple.iokit.IOUSBHIDDriver 650.4.4

com.apple.iokit.IOSCSIBlockCommandsDevice 3.6.0

com.apple.iokit.IOUSBMassStorageClass 3.6.0

com.apple.driver.AppleUSBMergeNub 650.4.0

com.apple.driver.AppleUSBComposite 650.4.0

com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.6.0

com.apple.iokit.IOBDStorageFamily 1.7

com.apple.iokit.IODVDStorageFamily 1.7.1

com.apple.iokit.IOCDStorageFamily 1.7.1

com.apple.iokit.IOAHCISerialATAPI 2.6.0

com.apple.iokit.IOSCSIArchitectureModelFamily 3.6.0

com.apple.driver.AppleThunderboltNHI 1.9.2

com.apple.iokit.IOThunderboltFamily 2.8.5

com.apple.iokit.IOUSBUserClient 650.4.4

com.apple.iokit.IO80211Family 600.34

com.apple.iokit.IOFireWireFamily 4.5.5

com.apple.iokit.IOEthernetAVBController 1.0.3b3

com.apple.driver.mDNSOffloadUserClient 1.0.1b4

com.apple.iokit.IONetworkingFamily 3.2

com.apple.iokit.IOAHCIFamily 2.6.0

com.apple.iokit.IOUSBFamily 650.4.4

com.apple.driver.AppleEFINVRAM 2.0

com.apple.driver.AppleEFIRuntime 2.0

com.apple.iokit.IOHIDFamily 2.0.0

com.apple.iokit.IOSMBusFamily 1.1

com.apple.security.sandbox 278.10

com.apple.kext.AppleMatch 1.0.0d1

com.apple.security.TMSafetyNet 7

com.apple.driver.AppleKeyStore 2

com.apple.driver.DiskImages 371.1

com.apple.iokit.IOStorageFamily 1.9

com.apple.iokit.IOReportFamily 21

com.apple.driver.AppleFDEKeyStore 28.30

com.apple.driver.AppleACPIPlatform 2.0

com.apple.iokit.IOPCIFamily 2.8

com.apple.iokit.IOACPIFamily 1.4

com.apple.kec.corecrypto 1.0

com.apple.kec.pthread 1

Apr 3, 2014 8:59 PM in response to Linc Davis

Thanks for looking at this. I have since that last kernel panic managed to upgrade to 10.9.2 and the new security update. I have removed Sophos and will try to clean up threats before they reach the studio. I'm thinking of replacing the ram and or SSD next. I know that some suppliers fit their own sourced ram and drives to increase their margin. The difference between similar spec machines in the studio could be down to different suppliers and cost cutting measures.

--dust

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

out of application memory

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.