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: email@hidden
- Date: Tue, 10 Nov 2009 21:28:22 +0100
On Nov 10, 2009, at 19:31, 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.)
I don't care much about that as I'm using it only if I think some behavior may be caused by Script Debugger.
> 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. =)
That made my evening! :-D
Christian _______________________________________________
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