Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quartz Composer memory leak



I've just stumbled across a memory leak when outputting humble strings from JavaScript patches. There's nothing special about this, but each time the JS executes, it outputs a string:
If I perform an ObjectAlloc trace on this, it appears that the strings are never released, not even when the document is closed in QC.
Can anyone else confirm this is the case, and that I'm reading my ObjectAlloc traces correctly?

You should maybe use Leaks instead of ObjectAlloc, but *I am also able to verify this*.
Looks like the leak originates in JavaScriptCore (which is maybe updated when WebKit/Safari is), so it might not be QCs fault (though it's difficult to tell -- it could be QC mishandling returned results.


Also, instead of assuming this is fixed in 10.6, what is the possibility issues like this will be fixed in 10.5? We make heavy use of JavaScript patches to generate strings in many of our projects, and knowing there are leaks like this is a bit worrying.

Hopefully a safari update will address it (if it's actually JSC's fault), or maybe 10.5.8 (if it's QC's fault).


--
[ christopher wright ]
email@hidden
http://kineme.net/

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden

References: 
 >Quartz Composer memory leak (From: Adrian Lo <email@hidden>)
 >Re: Quartz Composer memory leak (From: Adrian Ward <email@hidden>)
 >Re: Quartz Composer memory leak (From: Chris Wood <email@hidden>)
 >Re: Quartz Composer memory leak (From: Adrian Ward <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.