Jump to content
  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
0mar32

Mavericks using 3GB out of 4GB on startup!

40 posts in this topic

Recommended Posts

Hey everybody,

 

I would like just to emphasize that Mavericks is one of the best OSes I've ever used but this problem has been itching me since I first upgraded.

What happens is this, Mavericks boots and upon launching activity monitor which is the only app running other than the system resources, I find that OS X is using 2.99~3.04GB of RAM! One pesky process named kernel_task takes up 400MB of RAM on boot which keeps growing in size with time and since there's so little RAM left, after opening Chrome, some Office apps and iTunes the system like reboots within the OS, everything closes and some apps get closed and some restart, sometimes it freezes all together with only the mouse moving.

 

Here's the message from console that appears each time when such a problem occurs:

11/2/2013 11:41:09.000 PM kernel[0]: CODE SIGNING: cs_invalid_page(0x1000): p=666[ksadmin] final status 0x0, allow (remove VALID)ing page
11/2/2013 11:41:10.000 PM kernel[0]: CODE SIGNING: cs_invalid_page(0x1000): p=671[ksadmin] final status 0x0, allow (remove VALID)ing page
11/2/2013 11:41:16.000 PM kernel[0]: CODE SIGNING: cs_invalid_page(0x1000): p=696[GoogleSoftwareUp] final status 0x0, allow (remove VALID)ing page
 
If you also check the timestamps you will see how frequently it may occur. Please help me with this problem because compared to Windows 7 which uses roughly 1.67GB on boot and never approaches the 4GB mark even while heavy gaming which is ridiculous!!!
 
 
P.S. I know how to reproduce it quite easily if needed! You will also find attached the log file retrieved from the Console app.
 

Share this post


Link to post
Share on other sites

So after some research on the topic, I've found out that this kernel_task process is a normal task and it should use that amount of RAM that it uses.
 
using the command

sudo purge

drops down Memory Used to 2.58GB while running Activity Monitor, Terminal and Chrome with one tab open which can still be considered excessive!

 

Some people on the Apple support communities pointed out that it might be spotlight indexing so I checked and that wasn't it!

 

Another interesting point, in safe mode and after using the above command the Memory used drops down to 1.56~1.75GB which is the level I hope to reach in normal mode, can it be done in my lifetime??

 

Please help me as this is just too much, the amount of apps crashing and black screen with an apparent app restart is just frustrating. I can't do anything without falling victim to such a phenomena which doesn't save nor restore my work after it happens.

Share this post


Link to post
Share on other sites

This is normal in mavericks. Memory management is completely different than any other version of osx, and if you're purging the ram you're counteracting the benefits of it's memory management. Remember that any free ram is wasted ram. Mavericks using a lot of ram is fine and perfectly normal, what you need to worry about it swap, pageouts, and the new memory pressure graph in activity monitor. Since upgrading to mavericks on my vivobook my memory usage has been about the same as yours but I have yet to see any swapping or pageouts.

 

As for your apps crashing I can't say whether or not that's related, but mavericks has certainly been less stable than ml for me.

Share this post


Link to post
Share on other sites

This is normal in mavericks. Memory management is completely different than any other version of osx, and if you're purging the ram you're counteracting the benefits of it's memory management. Remember that any free ram is wasted ram. Mavericks using a lot of ram is fine and perfectly normal, what you need to worry about it swap, pageouts, and the new memory pressure graph in activity monitor. Since upgrading to mavericks on my vivobook my memory usage has been about the same as yours but I have yet to see any swapping or pageouts.

 

As for your apps crashing I can't say whether or not that's related, but mavericks has certainly been less stable than ml for me.

What happens is the following, once the Memory used reaches 3.99GB my screen goes black and all apps close then some of them restart back on my screen and some don't and the Memory used drops a little maybe to 3.2GB or something, is that Mavericks related or some 3rd party software, kext...etc is causing it???.

Share this post


Link to post
Share on other sites
 

Check out Memory Management or Ram Usage at Idle on 10.6.8, 10.7.5, 10.8.5 & 10.9.

 

Mavericks is one of the worst release ever from apple, can be compared with Windows Vista ( Slow, Laggy, worst memory management, resource hogger and what not)

 

I would recommend to stick with OS X Lion 10.7.5 as its the best iteration available with proper optimization, anyway we would be playing with OS X 10.10 Developer Previews around April 2014, So just wait for few more months.

 

11vjybp.jpg2u6gsn8.png143i5o9.jpg106buo4.png

 

Share this post


Link to post
Share on other sites

 

To reiterate my problem, it seems it's not with Maverick's new management but with the OS X seemingly crashing and going into a black screen and then working normally again but with some apps closed and some restarted, that is the first scenario.

 

The second scenario is that OS X freezes but with only the mouse working and I can move it, as well as the keyboard when I click the caps lock key it lights up as it detected that keystroke.

 

If anyone has faced such a problem please tell me what you did to fix it or a workaround or anything.

Share this post


Link to post
Share on other sites

I can suggest that you are using 32bit kernel. I saw 3Gb RAM usage only with Clover32...

I'm using Chameleon r2266 but I don't know about the 32bit kernel?!

Share this post


Link to post
Share on other sites

What happens is the following, once the Memory used reaches 3.99GB my screen goes black and all apps close then some of them restart back on my screen and some don't and the Memory used drops a little maybe to 3.2GB or something, is that Mavericks related or some 3rd party software, kext...etc is causing it???.

Yeah, that's definitely not normal... Any third-party apps you are using frequently, particularly ones that run in the background or use a kext? Sounds like a really bad memory leak...

 

As far as the freezing app issue, does this happen when using Safari by any chance? I've heard of similar problems that are mostly limited to Safari. I haven't had that problem, and I've only used Chrome since installing Mavericks.

Share this post


Link to post
Share on other sites

High ram usage on boot is normal as Apple is using Ram Disks for core system files which in turn makes the system faster. Take a look at how much ram that is in use at my boot:

 

post-810930-0-62331200-1384100866_thumb.png

Share this post


Link to post
Share on other sites

Yeah, that's definitely not normal... Any third-party apps you are using frequently, particularly ones that run in the background or use a kext? Sounds like a really bad memory leak...

 

As far as the freezing app issue, does this happen when using Safari by any chance? I've heard of similar problems that are mostly limited to Safari. I haven't had that problem, and I've only used Chrome since installing Mavericks.

It actually happens while using Chrome, I never use Safari! It happens with any App that uses a little bit of RAM like the Microsoft office apps or Adobe photoshop CS6

Share this post


Link to post
Share on other sites

Yeah, that's definitely not normal... Any third-party apps you are using frequently, particularly ones that run in the background or use a kext? Sounds like a really bad memory leak...

3rd party software that use kexts that I use are, Splashtop Streamer, Paragon NTFS, HWmonitor with the fakeSMC plugins....maybe VoodooHDA, but other than those I have chrome installed as well as the Microsoft Office apps and Adobe Photoshop, all system updates installed via App Store.

Share this post


Link to post
Share on other sites

 

Here's the message from console that appears each time when such a problem occurs:
11/2/2013 11:41:09.000 PM kernel[0]: CODE SIGNING: cs_invalid_page(0x1000): p=666[ksadmin] final status 0x0, allow (remove VALID)ing page
11/2/2013 11:41:10.000 PM kernel[0]: CODE SIGNING: cs_invalid_page(0x1000): p=671[ksadmin] final status 0x0, allow (remove VALID)ing page
11/2/2013 11:41:16.000 PM kernel[0]: CODE SIGNING: cs_invalid_page(0x1000): p=696[GoogleSoftwareUp] final status 0x0, allow (remove VALID)ing page

 

This only happens when using Chrome? It looks like there may be a memory leak in the "GoogleSoftwareUp" process, which is probably part of Chrome.

 

Check if that process is running all the time or only when you're using Chrome.

Share this post


Link to post
Share on other sites

No it's not, I've checked it out in the console, it starts only when chrome is checking for an update

Share this post


Link to post
Share on other sites

I have same problem, after some time (even idle) mouse still moving, but no any other activity.

System log (as for me) looks fine 

20.11.13 22:27:29,610 collabd[338]: [CSODService.m:78 57ae000 +0ms] Failed to convert user externalID servermgr_xcode to uuid_t for membership check
20.11.13 22:27:29,677 collabd[338]: [CSODService.m:78 57ae000 +0ms] Failed to convert user externalID servermgr_xcode to uuid_t for membership check
20.11.13 22:27:29,681 collabd[338]: [CSODService.m:78 57ae000 +0ms] Failed to convert user externalID servermgr_xcode to uuid_t for membership check
20.11.13 22:27:31,739 com.apple.backupd[30004]: Will copy (73,4 MB) from MacOS
20.11.13 22:27:31,740 com.apple.backupd[30004]: Found 234 files (73,4 MB) needing backup
20.11.13 22:27:31,752 com.apple.backupd[30004]: 1,45 GB required (including padding), 537,42 GB available
20.11.13 22:27:36,399 com.apple.backupd[30004]: Copied 268 items (73,4 MB) from volume MacOS. Linked 1723.
20.11.13 22:27:39,668 com.apple.backupd[30004]: Will copy (16,8 MB) from MacOS
20.11.13 22:27:39,669 com.apple.backupd[30004]: Found 17 files (16,8 MB) needing backup
20.11.13 22:27:39,670 com.apple.backupd[30004]: 1,38 GB required (including padding), 537,35 GB available
20.11.13 22:27:40,946 com.apple.backupd[30004]: Copied 20 items (16,8 MB) from volume MacOS. Linked 245.
20.11.13 22:27:43,275 com.apple.backupd[30004]: Created new backup: 2013-11-20-222742
20.11.13 22:27:43,532 com.apple.backupd[30004]: Could not back up OS X Recovery to /Volumes/WD_Black/Backups.backupdb: Error Domain=NSCocoaErrorDomain Code=-69737 "Unable to mount recovery partition" UserInfo=0x7fd830df1af0 {NSLocalizedDescription=Unable to mount recovery partition}
20.11.13 22:27:44,276 com.apple.backupd[30004]: Starting post-backup thinning
20.11.13 22:27:44,276 com.apple.backupd[30004]: No post-backup thinning needed: no expired backups exist
20.11.13 22:27:44,307 com.apple.backupd[30004]: Backup completed successfully.
20.11.13 22:32:00,279 mDNSResponder[51]: mDNSPlatformSendUDP: sendto(12) failed to send packet on InterfaceID 0000000000000000 unicast/4 to 192.168.2.1:53 skt 12 error -1 errno 55 (No buffer space available) 1134245681 MessageCount is 16
20.11.13 22:32:01,420 mDNSResponder[51]: mDNSPlatformSendUDP: sendto(12) failed to send packet on InterfaceID 0000000000000000 unicast/4 to 192.168.2.1:53 skt 12 error -1 errno 55 (No buffer space available) 1134246823 MessageCount is 17
20.11.13 22:32:04,576 mDNSResponder[51]: mDNSPlatformSendUDP: sendto(12) failed to send packet on InterfaceID 0000000000000000 unicast/4 to 192.168.2.1:53 skt 12 error -1 errno 55 (No buffer space available) 1134249979 MessageCount is 18
20.11.13 23:41:57,225 WindowServer[219]: handle_will_sleep_auth_and_shield_windows: Deferring.
20.11.13 23:41:57,227 WindowServer[219]: CGXDisplayDidWakeNotification [36859179684188]: posting kCGSDisplayDidWake

I tried some simple steps, like changing hardware configuration (remove extra PCI cards and HDDs ), googled some of suspicious log entries, but no effect....

Average uptime is about 8-10 hours, according to statistic there is no surge of RAM or CPU usage at computer hangs.

 

HW config:

ASUS P5GC-MX / 1333, 2+1Gb Ram, Intel® Pentium® Processor E5400 (2,7Ghz), 250Gb WD Blue SATA HDD, GeForce 210 1Gb, 2 Monitors.

 

PS Sorry for my language, but this is only thread that describes my problem i've found.

Share this post


Link to post
Share on other sites

Since the problem occurs as soon as you hit your physical ram limit, I suspect that the system is unable to write the ram to its virtual ram file on disk. But it's just a wild guess...

Share this post


Link to post
Share on other sites

It's normal. On one on my friend hack with 4GB Mavericks uses on startup more or less 3GB, on another with 16GB, Mav use always more or less 3GB. It's normal. On all hacks that i can see with Mavericks, it uses always more or less 3GB of ram on startup.

Share this post


Link to post
Share on other sites

Since the problem occurs as soon as you hit your physical ram limit, I suspect that the system is unable to write the ram to its virtual ram file on disk. But it's just a wild guess...

What can I do then??

Share this post


Link to post
Share on other sites

What can I do then??

It is not a problem. Mavericks works in this way.

Share this post


Link to post
Share on other sites

It is not a problem. Mavericks works in this way.

I was referring to the problem about not being able to write to the virtual RAM

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Posts

    • Yup that's fine! Oddly, when rebooting several times it is suddenly gone! Only thing I need to fix is getting 'Headphone' output to work, after sleep. Internal Speakers are working after sleep. I assume to fix this in CodecCommander.kext/ EAPDFix.kext? Anyway thanks for your help!   Yup I have a combo output, so there was something wrong I guess.
    • Nice @yapan4 then we can join forces to make this as good as possible.
    • I had a weird situation, after running great for a while: yesterday I did a reboot and got a KP. Turns out the AstekFusion2Adapter kexts were causing the KP, strange thing is I didn't recall applying any update or a like.  I had to boot with the USB installer, mount the EFI partition to delete the old AstekFusion2Adapter kexts and replaced with the patched version contributed by despeinao. I'm glad the system is working again, not having to reinstall OSX.
    • i think the "red light" you are referring to is that you have a optical SPDIF output (3.5 mm) combo jack. it most likely will be "red" when audio is active. 
    • Domanda , ma il tuo configplist lo ha settato cosi Gengik????
      Noto molte cose atipiche , tipo aperto con Clover configurator nella sezione ACPI il nome DSDT.aml NON è selezionato , quindi in teoria NON dovrebbe caricare il DSDT che hai in Clover ACPI Patch , se usi SSDT x la CPU NON dovrebbero servirti quelle personalizzazioni sempre in configplist sezione CPU ...
      Secondo me dovresti partire da un configplist pulito , xche sempre secondo me c'è rimasto delle schifezze di qualche tool x installare facile    EDIT
      Scaricando il configplist di jolly NOTO ha impostato +o- come intendevo fare io , sistemando quello  sopra elencato e bammmmm NON avvia , mi forniresti x favore Hack info che trovi nella mia firma ???
      Grazie   Ho creato un configplist , se vuoi provare , dovrebbe essere pulito da ogni impurità , se funziona dovrai adattarli tutte le tue personalizzazioni x il boot ..... config.plist.zip


×