Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1432] Android: OutOfMemory issue

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:56:09.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0 M01
ComponentsAndroid
Labelsandroid, defect
ReporterThomas Steur
AssigneeDon Thorp
Created2011-04-15T02:52:14.000+0000
Updated2011-04-17T01:56:09.000+0000

Description

Hi,

I'm not able to answer in helpdesk since my premuim membership has expired yesterday. Therefore I'm creating a ticket here.

Please, see here for a more detailed report: http://developer.appcelerator.com/helpdesk/view/31801">http://developer.appcelerator.com/helpdesk/view/31801

@Don regarding your question in helpdesk: I finished my app already, only this memory issue is open. The occurrence is rather high than low since the error occurs after 12 opened and closed windows in my app. (not in the minified sample app) Would be nice to see this fixed soon but it is clear in my mind that you can not solve several big items simultaneously.

Thank you, Thomas

Comments

  1. Bill Dawson 2011-04-15

    Recent related commits (forgot to tag them):

    http://github.com/appcelerator/titanium_mobile/tree/f16490273d8cced5cbd24b589fb7a6986fae01d5"> http://github.com/appcelerator/titanium_mobile/tree/f16490273d8cced...

    http://github.com/appcelerator/titanium_mobile/commit/98e4f0d08004d7399a9a85ecc05b09e41759b639"> http://github.com/appcelerator/titanium_mobile/commit/98e4f0d08004d...

  2. Jeff Haynie 2011-04-15

    (from [a8c5ccc4cb76843898bc4d1d1d5448710ffb84ba]) [#1432] (Memory leak testing) Make sure tab proxies and views can release their constituents. http://github.com/appcelerator/titanium_mobile/commit/a8c5ccc4cb76843898bc4d1d1d5448710ffb84ba"> http://github.com/appcelerator/titanium_mobile/commit/a8c5ccc4cb768...

  3. Jeff Haynie 2011-04-15

    (from [b6641587f3393d4a89d08d952cd70102a0929bf5]) [#1432] Give TiUIWindow - a descendent of TiUIView - its own release() override, to help it detach the activity, messenger and handler. Give TableViewProxy and TableViewRowProxy - both descendants of TiViewProxy - their own releaseAllViews() overrides, to help them release items that are not in the standard children collection. Give a few other related table view classes more aggressive cleanup as well. http://github.com/appcelerator/titanium_mobile/commit/b6641587f3393d4a89d08d952cd70102a0929bf5"> http://github.com/appcelerator/titanium_mobile/commit/b6641587f3393...

  4. Bill Dawson 2011-04-15

    (from [026c645a26d0c83587246af2eaf8d6e82ae65179]) [#1432] If a TiContext is being released (i.e., window closes), there is no need for its app event listeners to hang around in the app event listeners collection, so remove them. They can be quite large. http://github.com/appcelerator/titanium_mobile/commit/026c645a26d0c83587246af2eaf8d6e82ae65179"> http://github.com/appcelerator/titanium_mobile/commit/026c645a26d0c...

  5. Bill Dawson 2011-04-15

    (from [25a404e1043e0f75d2c626a7f808a75fc54bdee6]) [#1432] Also nullify native view when ti view is 'released' https://github.com/appcelerator/titanium_mobile/commit/25a404e1043e0f75d2c626a7f808a75fc54bdee6"> https://github.com/appcelerator/titanium_mobile/commit/25a404e1043e...

JSON Source