Mailing Lists: Apple Mailing Lists

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

Tips for optimized memory use



Hi, I have build a widget that use dynamic arrays.

My widget works correctly but sometimes CPU use and Memory use growth.
At this time, the widget uses more 1 Gb of RAM ?

I didn't clean my Array, but I build new one.
I think it's the problem.
But how can I cleanup an array in javascript ?

With a pop on all elements ?

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

This email sent to email@hidden
References: 
 >modify animate() function for independent image fades (From: Edward Anastas <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.