Massive problem with memory usage

Hello ladies and gents!


Just before Christmas I bought my first MacbookPro 13" mid-2012 which is 2.5Ghz and 16gb RAM. Firstly it was just a toy since I've been using Windows for ages because of my work. After a while I've tried to make one or two projects on my mac and noticed it handles them quite nicely. I decided to move my entire workflow to mac and was more than happy with the results. Until last month.


I have no friggin' idea why but my macbook started to work terribly slowly. Nothing unextraordinary happened, there were no new apps or nothing like this. I've tried to manage the kernel_task problem but it helped only for a few days. Even if I kill the photoshop and illustrator processes, mac still uses more than 9GBs of RAM which drives me crazy. My Windows machine is only 12GB of RAM and same specs as my mac and it KICKS OFF it's butt!


What should I do? I love the OS X workflow but my clients won't accept delays any more!



EtreCheck version: 1.9.12 (48)

Report generated August 8, 2014 at 2:42:06 PM GMT+2


Hardware Information:

MacBook Pro (13-inch, Mid 2012) (Verified)

MacBook Pro - model: MacBookPro9,2

1 2.5 GHz Intel Core i5 CPU: 2 cores

16 GB RAM


Video Information:

Intel HD Graphics 4000 - VRAM: (null)

Color LCD 1280 x 800

DELL U2412M 1920 x 1200


System Software:

OS X 10.9.4 (13E28) - Uptime: 3 days 21:12:9


Disk Information:

HITACHI HTS725050A7E630 disk0 : (500.11 GB)

EFI (disk0s1) <not mounted>: 209.7 MB

Macintosh HD (disk0s2) / [Startup]: 499.25 GB (95.28 GB free)

Recovery HD (disk0s3) <not mounted>: 650 MB


MATSHITADVD-R UJ-8A8 disk1 : (846.4 MB)


bikesimon@wp.pl (disk1s0) /Volumes/bikesimon@wp.pl: 571.6 MB (Zero KB free)


USB Information:

Wacom Co.,Ltd. CTH-460

NOVATEK USB Keyboard

Apple Inc. FaceTime HD Camera (Built-in)

Apple Computer, Inc. IR Receiver

Apple Inc. BRCM20702 Hub

Apple Inc. Bluetooth USB Host Controller

Apple Inc. Apple Internal Keyboard / Trackpad


Thunderbolt Information:

Apple Inc. thunderbolt_bus


Gatekeeper:

Mac App Store and identified developers


Kernel Extensions:

[not loaded] com.wacom.kext.pentablet (5.3.3 - SDK 10.8) Support


Launch Daemons:

[loaded] com.adobe.fpsaud.plist Support

[running] com.tvmobili.tvmobilisvcd.plist Support


Launch Agents:

[not loaded] com.adobe.AAM.Updater-1.0.plist Support

[loaded] com.adobe.AdobeCreativeCloud.plist Support

[running] com.tvmobili.artwork.plist Support

[running] com.wacom.pentablet.plist Support


User Launch Agents:

[loaded] com.adobe.AAM.Updater-1.0.plist Support

[loaded] com.adobe.ARM.[...].plist Support

[running] com.spotify.webhelper.plist Support


User Login Items:

iTunesHelper

Alfred 2


Internet Plug-ins:

WacomNetscape: Version: 2.1.0-1 - SDK 10.8 Support

Default Browser: Version: 537 - SDK 10.9

Flip4Mac WMV Plugin: Version: 3.2.0.16 - SDK 10.8 Support

WacomTabletPlugin: Version: WacomTabletPlugin 2.1.0.2 Support

AdobeAAMDetect: Version: AdobeAAMDetect 2.0.0.0 - SDK 10.7 Support

FlashPlayer-10.6: Version: 14.0.0.145 - SDK 10.6 Support

AdobePDFViewerNPAPI: Version: 11.0.07 - SDK 10.6 Support

Silverlight: Version: 5.1.30214.0 - SDK 10.6 Support

Flash Player: Version: 14.0.0.145 - SDK 10.6 Support

QuickTime Plugin: Version: 7.7.3

AdobePDFViewer: Version: 11.0.07 - SDK 10.6 Support

JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version


Audio Plug-ins:

BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9

AirPlay: Version: 2.0 - SDK 10.9

AppleAVBAudio: Version: 203.2 - SDK 10.9

iSightAudio: Version: 7.7.3 - SDK 10.9


iTunes Plug-ins:

Quartz Composer Visualizer: Version: 1.4 - SDK 10.9


3rd Party Preference Panes:

Flash Player Support

Flip4Mac WMV Support

MagicPrefs Support

PenTablet Support


Time Machine:

Time Machine not configured!


Top Processes by CPU:

9% Spotify Helper EH

4% WindowServer

3% Spotify

1% coreaudiod

1% mds_stores


Top Processes by Memory:

2.61 GB Adobe Photoshop CC 2014

2.34 GB Adobe Illustrator

1.07 GB firefox

279 MB PluginProcess

229 MB WindowServer


Virtual Memory Information:

258 MB Free RAM

6.82 GB Active RAM

6.96 GB Inactive RAM

1.40 GB Wired RAM

19.76 GB Page-ins

70 MB Page-outs



User uploaded file

MacBook Pro, OS X Mavericks (10.9.4)

Posted on Aug 8, 2014 6:30 AM

Reply
15 replies

Aug 8, 2014 6:39 AM in response to psoiree

OS X should manage Virtual memory to Physical memory automatically. If processes switch CPU contexts very frequently, paging/swapping can create problems. Typically OS X will keep as much as possible in memory to avoid disk io, but with newer PCIe flash devices, it may not need to.


Have there been version upgrades of any of your software recently?


Flash Player and Java are two worst offenders in my experience.

Aug 8, 2014 7:58 AM in response to psoiree

You do not have a paging problem, as you have been up for almost 4 days, and you ONLY have 70MB of pageouts. That is noise no matter how long the system has been up.


You are running some very RAM intensive processes, 2 Adobe products and Firefox are consuming a huge chunk of the active RAM.


Your running Spotify. Are you having network issues, while streaming music?


Disk drives do not last forever. It is possible (long shot possible) that your disk is doing too many retries when you are accessing it. Since the disk itself will do the retries the software will not know that there is anything wrong, until it gets closer to critical. However, I'm not betting on this, so only look at this if you are finding read/writing large files to disk is a problem.


Is performance slow right after a reboot?


Have you tried a Safe mode boot

<http://support.apple.com/kb/ht1564>

This will not load any of your extra drives, such as the ones for your wacom table, but it will tell you if some 3rd party software is causing problems. Also booting into Safe mode cleans out some caches and things.


You are just experimenting with Safe mode, to see if its behavior is different from a normal boot, and using that to decide on where to look next.


And you never know, it might act nicer when you reboot normally after the Safe mode boot (or not; again it is a data point).


Tangent: My Macbook Pro (Late 2011) got a great speed boost when I replaced my spinning hard disk with a SSD. Just saying it can turn an old Mac into a faster machine.

Oct 13, 2014 5:29 AM in response to BobHarris

Guys, first of all, thank you for your replies and apologize for such delay in my answer.


Unfortunately, I'm the type of guy who reads everything and checks everything before asking a question. None of your solutions helped 😟 I mean, I'm aware of disk space issue + SSD solution but the problem will still exist. The reason for that is, as my first post tells, everything was fine at the beginning, mac was running fast as crazy. Nothing changed beside the time I've been using it...


I've tried killing the most ram-consuming apps, running just the OS and Safari (because I've been tell that Firefox uses too much RAM), I've tried cleaning the disk so it stays below the 50% of space usage and so on and so on...


The problem not only exists but also goes much beyond the issues I described in first post. Now I have problems with LOADING A PAGE...! I got 120mbit ⚠ connection and every page loading process has some kind of... hiccup.


Should I just dump my disk and install new?


P.S. I know that in ETRE report my disk is almost full but this is because I've just downloaded 6 of my 16gbs CF Cards. Also I'm aware of Photoshop and Firefox running while ETRE is making its report. Both of these factors does not affect the final problem which lays in kernel_task using MOST of my memory.


EtreCheck version: 2.0.3 (88)

Report generated October 13, 2014 at 2:19:45 PM GMT+2


Hardware Information:info

MacBook Pro (13-inch, Mid 2012) (Verified)

MacBook Pro - model: MacBookPro9,2

1 2.5 GHz Intel Core i5 CPU: 2-core

16 GB RAM Upgradeable

BANK 0/DIMM0

8 GB DDR3 1600 MHz ok

BANK 1/DIMM0

8 GB DDR3 1600 MHz ok

Bluetooth: Good - Handoff/Airdrop2 supported

Wireless: 1 interface (plural rule: one) en1: 802.11 a/b/g/n


Video Information:info

Intel HD Graphics 4000 -

Color LCD 1280 x 800

DELL U2412M 1920 x 1200


System Software:info

OS X 10.9.4 (13E28) - Uptime: 6 day (plural rule: other)17:12:17


Disk Information:info

HITACHI HTS725050A7E630 disk0 : (500.11 GB)

S.M.A.R.T. Status: Verified

EFI (disk0s1) <not mounted> : 210 MB

Macintosh HD (disk0s2) / [Startup]: 499.25 GB (912 MB free) (Low!)

Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB


MATSHITADVD-R UJ-8A8


USB Information:info

Apple Inc. FaceTime HD Camera (Built-in)

Apple Computer, Inc. IR Receiver

Apple Inc. Apple Internal Keyboard / Trackpad

Apple Inc. BRCM20702 Hub

Apple Inc. Bluetooth USB Host Controller

Wacom Co.,Ltd. CTH-460


Thunderbolt Information:info

Apple Inc. thunderbolt_bus


Gatekeeper:info

Mac App Store and identified developers


Kernel Extensions:info

/System/Library/Extensions

[not loaded] com.wacom.kext.pentablet (5.3.3 - SDK 10.8) Support


Problem System Launch Daemons:info

[failed] com.apple.wdhelper.plist


Launch Agents:info

[not loaded] com.adobe.AAM.Updater-1.0.plist Support

[running] com.adobe.AdobeCreativeCloud.plist Support

[running] com.tvmobili.artwork.plist Support

[running] com.wacom.pentablet.plist Support


Launch Daemons:info

[loaded] com.adobe.fpsaud.plist Support

[running] com.tvmobili.tvmobilisvcd.plist Support


User Launch Agents:info

[loaded] com.adobe.AAM.Updater-1.0.plist Support

[loaded] com.adobe.ARM.[...].plist Support

[running] com.spotify.webhelper.plist Support


User Login Items:info

iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)

Alfred 2 Application (/Applications/Alfred 2.app)


Internet Plug-ins:info

WacomNetscape: Version: 2.1.0-1 - SDK 10.8 Support

Default Browser: Version: 537 - SDK 10.9

Flip4Mac WMV Plugin: Version: 3.2.0.16 - SDK 10.8 Support

WacomTabletPlugin: Version: WacomTabletPlugin 2.1.0.2 Support

AdobeAAMDetect: Version: AdobeAAMDetect 2.0.0.0 - SDK 10.7 Support

FlashPlayer-10.6: Version: 15.0.0.152 - SDK 10.6 Support

AdobePDFViewerNPAPI: Version: 11.0.09 - SDK 10.6 Support

Silverlight: Version: 5.1.30214.0 - SDK 10.6 Support

Flash Player: Version: 15.0.0.152 - SDK 10.6 Support

QuickTime Plugin: Version: 7.7.3

AdobePDFViewer: Version: 11.0.09 - SDK 10.6 Support

JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version


3rd Party Preference Panes:info

Flash Player Support

Flip4Mac WMV Support

MagicPrefs Support

PenTablet Support


Time Machine:info

Time Machine not configured!


Top Processes by CPU:info

29% firefox

17% WindowServer

10% Adobe Photoshop CC 2014

8% plugin-container

8% PenTabletDriver


Top Processes by Memory:info

1.25 GB firefox

223 MB plugin-container

120 MB Finder

69 MB Adobe Photoshop CC 2014

69 MB WindowServer


Virtual Memory Information:info

26 MB Free RAM

2.94 GB Active RAM

3.22 GB Inactive RAM

1.94 GB Wired RAM

16.97 GB Page-ins

1.99 GB Page-outs


User uploaded file

Oct 13, 2014 6:22 AM in response to psoiree

NOTE: Mac OS X Mavericks tries very hard to use ALL your RAM for something. Unused RAM is wasted money. If the applications are not using the RAM, Mac OS X will cache disk data in the RAM so that it can avoid an expensive (in time and/or power usage) data fetch from storage. Free RAM rarely exists in Mac OS X, except at boot time.

kernel_task using MOST of my memory

Your kernel task is using about 6% of RAM.


On my Macbook Pro at this very moment, my kernel_task is using 1.23GB of my 16GB (mine is using closer to 8%) And my Firefox is using even more 1.44GB


Your kernel RAM usage is normal for a 16GB system. A lot of that RAM is being used to manage all the page tables for the running processes.


If you look at the bottom graph, you "Memory Pressure" is in the Green and VERY low.


The kernel is not your problem. And RAM does not seem to be your problem.


On this 2nd EtreCheck post you do have some pageout activity. Averaging about 13MB per hour over 6+ days, but that could have just been a time when you were doing some heavy duty graphics processing while running a lot of RAM intensive processes. And considering your first EtreCheck post had almost no pageout activity, I would still say RAM is not your problem.


Now I have problems with LOADING A PAGE...! I got 120mbit connection and every page loading process has some kind of... hiccup


That sounds more like a networking issue (this is an educated guess, but still a guess). A lot of slow page loads can come from slow DNS servers, as we pages generally have lots of DNS names that need to be translated.


You might try using an alternate DNS server


OpenDNS.org

208.67.222.222

208.67.220.220


Google DNS

8.8.8.8

8.8.4.4


System Preferences -> Network -> Advanced -> DNS -> [+]


The first DNS server in the list is the most critical because the network will not look at the next server until the first lookup request times out. And if that happens you are already very slow.

Oct 13, 2014 6:43 AM in response to BobHarris

Bob, first of, thank You for Your time.


I'm a bit confused after reading your post: how is it possible that 9.21Gb (which kernel_task uses in first screenshot) is 6% to you? As far as I remember from algebra, 9.21/16 gives us 57%...


The second post/screenshot I gave You was only a reference to the fact how much kernel_task is using on a rebooted OS X.


I'll try the solution with DNSes though. But still - everything was loading ultra fast when I bought this mac. Also then, the disk was almost fully used and photoshop + indesign were working 24h/7. There MUST be some issue that we don't see :/


EDIT: I've summed all the processes in second screenshot and they DON'T give us 6Gb of usage - there must be some hidden processes that are taking loads of my memory.


P.S. I'm aware of how Mavericks manage the memory 🙂

Oct 13, 2014 6:57 AM in response to psoiree

On a 16GB 2013 rMBP...


User uploaded file


User uploaded file


For your network issues, you can try a speed test and see what you get. Another test is to use an IP address rather than a name and see how it behaves.


nslookup www.google.com

Server: 10.71.30.30

Address: 10.71.30.30#53


Non-authoritative answer:

Name: www.google.com

Address: 64.233.183.99

Name: www.google.com

Address: 64.233.183.105

Name: www.google.com

Address: 64.233.183.106

Name: www.google.com

Address: 64.233.183.103

Name: www.google.com

Address: 64.233.183.147

Name: www.google.com

Address: 64.233.183.104

Oct 13, 2014 7:37 AM in response to psoiree

I'm a bit confused after reading your post: how is it possible that 9.21Gb (which kernel_task uses in first screenshot) is 6% to you? As far as I remember from algebra, 9.21/16 gives us 57%...

Due to the wonders that are the Apple Forums, I cannot see your 1st screen shot. I can only see your most recent Activity Monitor screen shot, and that is using 6%.


You do have one kernel extension installed

[not loaded] com.wacom.kext.pentablet (5.3.3 - SDK 10.8) Support

and it does mention 10.8 SDK, so I would wonder if Wacom does not have a newer driver for their tablet that is maybe current with Mavericks vs Mountain Lion.


3rd party kernel extension have been known to cause problems in the past. Especially if they start using unpublished kernel API's, and the kernel changes how it uses that API.


I'll try the solution with DNSes though. But still - everything was loading ultra fast when I bought this mac. Also then, the disk was almost fully used and photoshop + indesign were working 24h/7. There MUST be some issue that we don't see :/

DNS servers are often provided by your ISP, but then your home router will act as the local DNS server fronting for the ISP's DNS servers. DNS servers have failures, or the ISP may switch which DNS server is being used for your location. And home routers have been known to get confused, and stop being a good frontend for the ISP's DNS servers (restarting the router is generally a short term cure).

Oct 13, 2014 7:43 AM in response to psoiree

120mb conection

Totally off subject, AND should NOT be part of your problem. I'm just curious.

Do you have a tuned home network?

I only ask because a lot of generic home networking equipment (routers, WiFi) will not truly handle 120mb/sec of bandwidth.

Some people have lots of bandwidth because they have lots of equipment that needs to share the bandwidth, but no one system needs all of it.

Others want all that bandwidth for one system. In those cases all the network connections to the pipe need to be capable of carrying the full load.


So I was just wondering.


Again, I DO NOT think network equipment that cannot handle 120mb/sec is in anyway related to your problem. Just curious.

Oct 13, 2014 7:55 AM in response to psoiree

As an additional thought:


The OS needs space in order to perform properly/write to disk; in one of your replies, you said:


I've tried cleaning the disk so it stays below the 50% of space usage and so on and so on...


However, the last EtreCheck notes:


Macintosh HD (disk0s2) / [Startup]: 499.25 GB (912 MB free) (Low!)


If you have less than 1 GB of hard drive space left, no wonder everything slows down to a crawl. You need to have an absolute minimum of 10 - 15 GB for the OS to work properly. This is hard drive space, not RAM memory. If you do a lot of image or video editing, you need a lot more; for video editing/rendering, it is recommended that you have at least as much empty space as your project files sizes. My last one hour HD video project had 150 GB of temporary files, so I made sure I had that much empty space on my hard drive.

Oct 16, 2014 5:29 AM in response to BobHarris

Bob and babowa:


As I said before, the disk space is not a problem, nor the internet connection is. I just bought WD My Cloud Mirror (4TB in RAID1). Proof:

Ookla speed test:

User uploaded file


Disk space:

User uploaded file


The system is working the same as it was when I posted my problem. I'll try to update WACOM driver somehow but unfortunately it's an old Bamboo Pen&Touch which they are not longer supporting 😟


Bob: at the moment I live in a big city so it's been a simple choice to use as fast internet speed as possible. For the same money in my home town I can only have 1/10th of it 🙂 I have a router but mostly I'm the only person who use the transfer beside two girls watching films time to time.

Oct 20, 2014 5:25 AM in response to psoiree

Formatted disk. Fresh OS X. The only apps running are Safari (with two tabs opened) and Spotify. Result:


User uploaded file

EtreCheck version: 2.0.6 (91)

Report generated 19 Oct 2014 21:36:09 GMT+2


Hardware Information: ℹ️

MacBook Pro (13-inch, Mid 2012) (Verified)

MacBook Pro - model: MacBookPro9,2

1 2.5 GHz Intel Core i5 CPU: 2-core

16 GB RAM Upgradeable

BANK 0/DIMM0

8 GB DDR3 1600 MHz ok

BANK 1/DIMM0

8 GB DDR3 1600 MHz ok

Bluetooth: Good - Handoff/Airdrop2 supported

Wireless: en1: 802.11 a/b/g/n


Video Information: ℹ️

Intel HD Graphics 4000 -

Color LCD 1280 x 800

DELL U2412M 1920 x 1200


System Software: ℹ️

OS X 10.9.5 (13F34) - Uptime: 2:41:15


Disk Information: ℹ️

HITACHI HTS725050A7E630 disk0 : (500,11 GB)

S.M.A.R.T. Status: Verified

EFI (disk0s1) <not mounted> : 210 MB

eighty9 (disk0s2) / [Startup]: 499.25 GB (353.55 GB free)

Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB


MATSHITADVD-R UJ-8A8


USB Information: ℹ️

NOVATEK USB Keyboard

Apple Inc. BRCM20702 Hub

Apple Inc. Bluetooth USB Host Controller

Apple Computer, Inc. IR Receiver

Apple Inc. Apple Internal Keyboard / Trackpad

Apple Inc. FaceTime HD Camera (Built-in)


Thunderbolt Information: ℹ️

Apple Inc. thunderbolt_bus


Gatekeeper: ℹ️

Mac App Store and identified developers


Launch Agents: ℹ️

[not loaded] com.adobe.AAM.Updater-1.0.plist Support

[failed] com.adobe.AdobeCreativeCloud.plist Support


User Launch Agents: ℹ️

[loaded] com.adobe.ARM.[...].plist Support

[not loaded] com.spotify.webhelper.plist Support


User Login Items: ℹ️

Spotify Application (/Applications/Spotify.app)


Internet Plug-ins: ℹ️

AdobePDFViewerNPAPI: Version: 11.0.09 - SDK 10.6 Support

AdobePDFViewer: Version: 11.0.09 - SDK 10.6 Support

QuickTime Plugin: Version: 7.7.3

AdobeAAMDetect: Version: AdobeAAMDetect 2.0.0.0 - SDK 10.7 Support

Default Browser: Version: 537 - SDK 10.9


3rd Party Preference Panes: ℹ️

None


Time Machine: ℹ️

Time Machine not configured!


Top Processes by CPU: ℹ️

8% WindowServer

3% PluginProcess

2% Spotify

2% Calculator

1% hidd


Top Processes by Memory: ℹ️

189 MB com.apple.IconServicesAgent

172 MB ocspd

155 MB softwareupdated

137 MB Spotify

137 MB mds_stores


Virtual Memory Information: ℹ️

3.15 GB Free RAM

3.97 GB Active RAM

8.48 GB Inactive RAM

1.58 GB Wired RAM

6.65 GB Page-ins

0 B Page-outs


I'm opening photoshop and my file. My first action is grabbing and moving picture which results in crashing photoshop. I'm speechless....................................

Oct 20, 2014 6:26 AM in response to psoiree

Crashing Photoshop is troubling?


Did you buy this Mac new or used? Do you know if the 16GB of RAM are from Apple or if used was it 3rd party RAM the previous owner installed?


As I said Photoshop crashing is not something I would expect, especially on a newly installed Mac OS X. However, if there is 3rd party RAM, in theory it is possible there is some bad RAM that is causing Photoshop to crash. Then again, bad RAM is also likely to crash Mac OS X, and you have not been reporting Mac OS X panics. So I do not want to point fingers too much at RAM. Mostly I'm just trying to explore other ideas.


If you purchased this from Apple just before this past Christmas, then you are still under warranty. I would setup an Apple Store Genius appointment and have them check out the hardware. Especially if you can demo the Photoshop crashing for them. That will give them something to reproduce.


Looking at your Memory stats, most of the RAM is being used as a file cache, which is quickly given up if an App needs RAM. If your Photoshop images are huge, you could easily have populated the file cache with the images you loaded, along with scratch files Photoshop creates.


Or if this most recent EtreCheck was taken just after booting from the new Mac OS X install, it could just be Spotlight indexing your disk and thus reading all the files which populated the file cache.

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.

Massive problem with memory usage

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