Jump to content

Mavericks using 3GB out of 4GB on startup!


  • Please log in to reply
39 replies to this topic

#1
0mar32

0mar32

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 105 posts
  • Gender:Male
  • Location:United States

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.
 


#2
0mar32

0mar32

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 105 posts
  • Gender:Male
  • Location:United States

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.



#3
0mar32

0mar32

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 105 posts
  • Gender:Male
  • Location:United States
Can anyone elaborate please??

#4
jamiethemorris

jamiethemorris

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 553 posts
  • Gender:Male
  • Location:San Rafael, CA
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.

#5
0mar32

0mar32

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 105 posts
  • Gender:Male
  • Location:United States

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???.

#6
mackyreddy

mackyreddy

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 246 posts
  • Gender:Not Telling
  • Interests:Building Operating Systems from scratch
 

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

 


#7
0mar32

0mar32

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 105 posts
  • Gender:Male
  • Location:United States

 

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.



#8
akeeper

akeeper

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts
  • Gender:Male
  • Location:Moscow, Russia

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



#9
0mar32

0mar32

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 105 posts
  • Gender:Male
  • Location:United States

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?!

#10
0mar32

0mar32

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 105 posts
  • Gender:Male
  • Location:United States
Any help guys would be much appreciated :D
Any help guys would be much appreciated :D

#11
jamiethemorris

jamiethemorris

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 553 posts
  • Gender:Male
  • Location:San Rafael, CA

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.



#12
Rampage Dev

Rampage Dev

    InsanelyMac Deity

  • Local Moderators
  • 2,017 posts
  • Gender:Male

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:

 

Attached File  Screen Shot 2013-11-10 at 11.26.07 AM.png   164.19KB   13 downloads



#13
0mar32

0mar32

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 105 posts
  • Gender:Male
  • Location:United States

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

#14
0mar32

0mar32

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 105 posts
  • Gender:Male
  • Location:United States

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.

#15
poispois

poispois

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 133 posts
  • Gender:Male
  • Location:Portugal

Have you tried this without OC?



#16
0mar32

0mar32

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 105 posts
  • Gender:Male
  • Location:United States

Have you tried this without OC?


I'll do, thanks for the suggestion :D

#17
poispois

poispois

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 133 posts
  • Gender:Male
  • Location:Portugal

Did it somehow, worked?



#18
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,120 posts
  • Gender:Male
  • Location:Brazil

 

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.



#19
0mar32

0mar32

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 105 posts
  • Gender:Male
  • Location:United States

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



#20
bloodykorin

bloodykorin

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts
  • Gender:Male
  • Location:Russia, Urals

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.







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy