• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: spurious timeout on nth Apple event on Snow Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 10:31:29 -0800

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. =)


--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

  • Follow-Ups:
    • Re: spurious timeout on nth Apple event on Snow Leopard
      • From: Christopher Nebel <email@hidden>
    • Re: spurious timeout on nth Apple event on Snow Leopard
      • From: email@hidden
References: 
 >RE: system info delay (From: Hagimeno <email@hidden>)
 >Re: system info delay (From: Christopher Nebel <email@hidden>)
 >Re: spurious timeout on nth Apple event on Snow Leopard (From: email@hidden)

  • Prev by Date: Re: Month Names
  • Next by Date: Re: spurious timeout on nth Apple event on Snow Leopard
  • Previous by thread: Re: spurious timeout on nth Apple event on Snow Leopard
  • Next by thread: Re: spurious timeout on nth Apple event on Snow Leopard
  • Index(es):
    • Date
    • Thread