Re: spurious timeout on nth Apple event on Snow Leopard
Re: spurious timeout on nth Apple event on Snow Leopard
- Subject: Re: spurious timeout on nth Apple event on Snow Leopard
- From: Christopher Nebel <email@hidden>
- Date: Tue, 10 Nov 2009 12:41:41 -0800
On Nov 10, 2009, at 10:31 AM, Christopher Nebel wrote:
> On Nov 7, 2009, at 5:46 AM, email@hidden wrote:
>
>> There's a problem #2: If you run the following script in AppleScript Editor it eats over 5 GB of RAM in about 20 minutes. I stopped there as the system became very sluggish. The first gigabytes are eaten quite fast, then it gets slower and slower. ...
>
> I'm pretty sure that's a feature gone awry: in Snow Leopard, the event log is effectively always on and always recording, so for a script that sends millions of events like that one, the log gets, well, rather large. Clearly we'll need to put some bounds on it. (Filing a bug wouldn't hurt.) There are at least two workarounds:
>
> - When running it for an extended period of time, run it as an applet, not in AppleScript Editor.
> - Run AppleScript Editor in 32-bit mode -- that way, when it sucks more than about 1.5 GB, it'll just crash. =)
...and as the developer of this particular bit reminds me, you can just turn it off. Preferences > History > Log only when visible; switch that off, and then switch the script window to only show the result.
--Chris Nebel
AppleScript Engineering
_______________________________________________
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