Jump to content

Mavericks using 3GB out of 4GB on startup!


0mar32
 Share

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.
 
Link to comment
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.

Link to comment
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.

  • Like 1
Link to comment
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???.

Link to comment
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

 
Link to comment
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.

Link to comment
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.

Link to comment
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

Link to comment
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.

Link to comment
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.

Link to comment
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.

Link to comment
Share on other sites

  • 2 weeks later...

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.

Link to comment
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??

Link to comment
Share on other sites

 Share

×
×
  • Create New...