• 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: Memory and idle applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory and idle applescript


  • Subject: Re: Memory and idle applescript
  • From: Paul Skinner <email@hidden>
  • Date: Tue, 19 Aug 2003 09:24:56 -0400

On Tuesday, August 19, 2003, at 08:03 AM, julifos wrote:

Hi!

I'm trying to create an app whose main goal is *wait* for user requests, and
I've seen in the process-viewer that both applescript-studio apps and
applets are very memory-wasters in idle status, after PB, the Window Manager
and the active app, which is waste-lots-of-memory for a simple idle
status...

Do you know a workaround for this, to waste, eg 1% memory while waiting,
instead a 8-10%?

Cheers!

jj

I don't follow this. Using the script...

on open x
display dialog x as string
end open
on idle
return 1000
end idle

My process viewer shows 1.3% mem usage and 0% processor usage when idling.
top shows 473 staOpenDro 0.0% 0:01.49 2 60 150 1.60M 8.92M 6.73M 73.9M

Perhaps you've got a low value for the return? If it's triggered by the open handler then you shouldn't have it activate very often.

PS
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Memory and idle applescript (From: julifos <email@hidden>)

  • Prev by Date: QuarkXPress 6 sizing
  • Next by Date: Mixing Apple Script, Excel and a network
  • Previous by thread: Re: Memory and idle applescript
  • Next by thread: Re: Memory and idle applescript
  • Index(es):
    • Date
    • Thread