• 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
entire contents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

entire contents


  • Subject: entire contents
  • From: Luther Fuller <email@hidden>
  • Date: Tue, 13 Sep 2011 15:45:29 -0500

I was testing a script in 10.7.1 that goes thru a long list via a repeat loop.
It should take no more than 1 sec per item.

Symptom 1: It was taking about 20 sec per item.
Symptom 2: I checked Activity Monitor and found that the Finder was at 100.1% CPU time.
(Which explains the rainbow wheel of inactivity I was getting.)
Symptom 3: The CPU temperature, which is usually less than 140 deg F, was at 170 deg F.
(This can be really dangerous. I suspect that this
 is the cause of a dead logic board a year ago.
 Which is why I monitor the CPU temperature.)

After inserting a timing diagnostic at various locations, I found the offending line of code ...

some file of entire contents of the result whose name is msgFileName

It has been known for some time that Symptom 1 is a problem with entire contents.
Symptoms 2 and 3 indicate that entire contents is just plain dangerous.

... at least in its current implementation. If this can be fixed, it ought to be.
I'm wondering if Symptoms 2 and 3 qualify as a dangerous bug?

 _______________________________________________
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: entire contents
      • From: Luther Fuller <email@hidden>
  • Prev by Date: Passing a Handler at Runtime
  • Next by Date: Re: Passing a Handler at Runtime
  • Previous by thread: Re: Passing a Handler at Runtime
  • Next by thread: Re: entire contents
  • Index(es):
    • Date
    • Thread