Re: RAM and CPU hogging
Re: RAM and CPU hogging
- Subject: Re: RAM and CPU hogging
- From: Luther Fuller <email@hidden>
- Date: Tue, 17 Jul 2007 16:18:10 -0500
On Jul 17, 2007, at 3:49 PM, Timothy Hellum wrote:
The issue I am finding is that ARD tells me the machines are
routinely running at 98% CPU and 98% RAM usage. The problem is,
the only apps running on them are the script (saved as an
application), and Safari. After a few days of running like this,
they sort of seize up (wouldn’t you?) and either present the
beachball, time out on the Applescript, or freeze altogether.
This may not be applicable here, but ...
One good way to get an AppleScript to consume near 100% CPU usage is
to write an application containing a short repeat loop that waits for
some condition. Preventing this is easy -- just put a 'delay 1'
within the loop. In the case of a stay-open application, it might be
a good idea to put a 'delay 1' within the idle handler.
_______________________________________________
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