• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: RAM and CPU hogging
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RAM and CPU hogging


  • Subject: Re: RAM and CPU hogging
  • From: Bill Briggs <email@hidden>
  • Date: Tue, 17 Jul 2007 20:09:56 -0300

At 4:49 PM -0400 7/17/07, Timothy Hellum wrote:
>If anyone has any idea why the CPU and RAM usages are running so high, I'd sure appreciate a suggestion.

 I'm betting on Safari as the culprit. I have a memory monitor in my menu bar and it ticks up and up the longer Safari runs. I have to quit and relaunch daily to get it back down again.

 But to test your situation I'm running your script (with the "activate" on Safari killed so it doesn't come forward all the time).

 To see what's going on, you need to open a Terminal window and type the following:

top -o -rsize  <return>

... and this will show the top 16 applications in descending order of memory footprint. As it stands right now on my PowerBook Safari is at the top of the list (it has been running all day and there are several windows open). Here's a shot of the usage (but I note that %CPU is frequently up to as much as 60-70%).

PID COMMAND      %CPU   TIME   #TH #PRTS #MREGS RPRVT  RSHRD  RSIZE  VSIZE
476 Safari      35.4%  9:04:20  29   599  4580   444M  118M   470M   2.38G

Your script application, which has only been running for a few minutes has been steady as follows:

1746 test.app     0.0%  0:00.51   1    57   209  1.74M  18.9M  14.7M   158M

... which is 0% CPU (effectively) and 3% of the RAM that Safari is using.

 I'm betting that if you watch it for a while on Terminal that you'll find it's Safari. It's a RAM hog. Always has been. Some other browsers are just as bad.

 - web
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >RAM and CPU hogging (From: Timothy Hellum <email@hidden>)

  • Prev by Date: Re: RAM and CPU hogging
  • Next by Date: Re: RAM and CPU hogging
  • Previous by thread: Re: RAM and CPU hogging
  • Next by thread: Re: RAM and CPU hogging
  • Index(es):
    • Date
    • Thread