[AC-2837] Memory leak in iphone application
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2011-12-28T04:00:13.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | ios, iphone4, memory |
Reporter | shatthi |
Assignee | Paul Dowsett |
Created | 2011-12-26T20:41:06.000+0000 |
Updated | 2016-03-08T07:47:46.000+0000 |
Description
Team,
I have created a new titanium mobile application for iPhone using titanium 1.7.5.
I have not done any changes to the default tab group application. when i analysed this newly created application in instruments, i have noticed memory leak.
Below given is the description of the leak.
Leaked Object #: __NSCFDictionary
Address :0x36bb50
Size: 48 Bytes
Responsible Library: TestApp
Responsible Frame : +[ApplicationDefaults copyDefaults]
Kindly let me know how to solve this memory leak
shatthi The default app is really simply a "hello world" app to confirm that your environment is set up correctly rather than an example of best practices. Having said that, with the introduction of Titanium Studio's samples and templates, this will change over the next few months. You can find guidance on how to improve your Titanium code in our [Documentation & Guides](https://wiki.appcelerator.org/display/guides) and, in particular, [CommonJS Modules in Titanium](https://wiki.appcelerator.org/display/guides/CommonJS+Modules+in+Titanium), [Mobile Best Practices](https://wiki.appcelerator.org/display/guides/Mobile+Best+Practices) and the Codestrong talk [Your Apps are Leaking - Controlling Memory Leaks](http://vimeopro.com/appcelerator/codestrong-2011/video/29804284) on Vimeo. Hence I'm closing this now. Thanks for your input.