NSAppleScriptMemoryLeak
last edited June 15, 2006 06:10:43 (142.161.104.232)
| |
|---|---|
| Edit / History / New / Search | Quick Links: Home / Recent Changes / Glossary / Jobs / Forums / Help |
|
CocoaDiscussions - NSAppleScript Memory Leak
Lately I seem to be getting a memory leak whenever i use NSAppleScript. The code is very simple and it is as follows;
As you can see the applescript is autoreleased so this shouldn't be a problem, however whenever I run it, it leaks the following (And leaks again if ran again):
Anyone have any ideas?
AppleScript leaks no matter what you're doing. Even a simple compiled AppleScript Studio application will have around 3 leaks. This is a known problem with the current version and implementation of AppleScript. I'm not completely up-to-date on Apple's plans, but I do know they're working on fixing a number of such problems. So, it's nothing new. You can run "leaks" on any AppleScript Studio or ObjectiveC application with AppleScript and will likely find leaks in every single one. | |
| Edit / History / New / Search | Quick Links: Home / Recent Changes / Glossary / Jobs / Forums / Help |