Re: Stack Overflow
Re: Stack Overflow
- Subject: Re: Stack Overflow
- From: "Stockly, Ed" <email@hidden>
- Date: Wed, 12 Nov 2014 21:22:16 +0000
- Thread-topic: Stack Overflow
Thanks Alex, that's helpful.
So this is interesting. I immediately restarted the script and after a few
minutes I get what's below. Suddenly there are four versions of Google
Chrome Helper running, each with a lot of memory being used. If I quit
Google Chrome, the helpers disappear, if I relaunch, two show up
immediately, two more a bit later, then each item I run the shell script,
the memory allocation for the helpers goes up. Some of the others change up
and down, but the helpers only go up.
Hmmm... It would be pretty easy to parse that result and when the RSS for
any of the Google Chrome Helpers reach some number, to quit and relaunch
Chrome. I could also use UI Browser to identify when the error message
appears, to figure out what the safe upper limit of memory for those is.
Thanks for the help guys, if you see any problems with that kind of
strategy, let me know!
" PID RSS COMMAND
412 138500 Google Chrome Helper
226 138192 com.apple.IconServicesAgent
410 137408 Google Chrome Helper
404 120428 Google Chrome Helper
111 111664 mds_stores
402 86648 Google Chrome
413 76448 Google Chrome Helper
180 71416 ScreensharingAgent
368 45044 AppleScript Editor
103 37416 WindowServer
<snip>
_______________________________________________
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