Re: Hungry app
Re: Hungry app
- Subject: Re: Hungry app
- From: Axel Luttgens <email@hidden>
- Date: Thu, 03 Jan 2013 23:22:51 +0100
Le 3 janv. 2013 à 12:28, Jörgen Stahle a écrit :
> Actually, it's eating a lot of real memory as well! I did't recognize this at first.
> Since yesterday, when I restarted the app, real memory usage has grown from 8 MB to 242 MB.
> I would appreciate any suggestions of what the reason could be.
Hello Jörgen,
This part of your script seems to yield memory leaks here, for about 0.5 Mb per iteration:
on idle
doIt()
return 1
end idle
on doIt()
local psParas, processNames
set processNames to {}
set psParas to paragraphs of (do shell script "ps uxc")
repeat with aPara in psParas
set end of processNames to last word of aPara
end repeat
end doIt
Something must be broken somewhere...
Axel
_______________________________________________
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