Re: RAM and CPU hogging
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