Re: Memory and idle applescript
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.