Tuesday, 10 August 2010

Why is coreservicesd using over 2GB of active memory?


my mbp 3,1 running 10.6 has been running out of memory , doing lot of pageouts when there no programs running on system. upgraded 2gb 4gb of ram problem still exist.

computer grinds halt when free memory runs out , starts paging, temporary fix clear disc cache (inactive memory) purge command active memory consumes system.

have attatched screen shots of activity monitor show happens. adding real memory processes sums 500mb kernel_task process using more 100mb.

somehow active memory sitting @ 2.34gb (this active memory, not total used memory). find out process using memory, started killing processes , noticed active memory go 2.34gb 116mb after killing coreservicesd process (which according activity monitor using 26mb of real memory). entire system stopped working after , computer needed restart (pretty normal after killing heap of system processes).

may or may not related every time happens have had xcode open. closing xcode not fix problem have not experienced memory leak when xcode not running.

has else had problem , found fix?
lion have problem or bug in snow leopard (or snow leopard version of xcode)?

here's couple of screenshots of activity monitor:
before killing coreservicesd
after killing coreservicesd (with sudo kill 58)

thanks,
matt
 

  • first, didn't capture processes in screen shots.
  • you didn't sort virtual memory, more useful.
  • the results shown in activity monitor lag behind real time, killing processes while looking @ may not give clear indication app consuming resources.
  • coreservicesd not using on 2gb of memory, shown in screen shots.
  • when you're in activity monitor, can kill processes clicking on process , clicking "quit" button on toolbar. no need terminal commands.
  • in both screen shots, have available ram, nothing maxing out memory @ time shots taken.
  • the high usage of mds process suggests spotlight may indexing drive, consumes resources.
  • your page outs minimal , have occurred @ time since last restarted computer.
  • you don't need manage mac's memory. mac os x knows how manage ram without user intervention.

page outs cumulative since last restart, best way check restart computer , track page outs under normal workload (the apps, browser pages , documents have open). if page outs significant (say 1gb or more) under normal use, may benefit more ram.

mac os x: reading system memory usage in activity monitor
 


Forums Macs macOS macOS


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

No comments:

Post a Comment