Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5148] TiUIWindowProxy does not get released in Alloy iOS instruments

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2017-11-23T23:35:23.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAlloy
Labelsmemoryleak
ReporterLeonardo Amigoni
AssigneeShak Hossain
Created2017-08-17T04:01:59.000+0000
Updated2017-11-23T23:35:23.000+0000

Description

Chasing down memory leaks. It seems that opening a window and closing it will not release neither the WindowProxy or all of it's children proxies. I stripped everything down to basics to make sure it wasn't a widget or anything else I was doing. I attached the View, StyleSheet, Controller of the window. It get's opened by another window button via: Alloy.createController("contactsList").getView().open(); so no reference left there. It's not a big issues for this particular window but it seems that it happens with every window so proxies add up quickly and eventually out of memory. Especially on Android. Is it possible that all children proxies won't release because the windowproxy is not released? While testing the windowproxy gets released the first time it's opened after about 20s in instruments, all subsequent times it won't get released.

Attachments

FileDateSize
contactsList.js2017-08-17T03:59:40.000+000047
contactsList.tss2017-08-17T03:59:15.000+00001518
contactsList.xml2017-08-17T03:59:56.000+0000438

Comments

  1. Sharif AbuDarda 2017-10-29

    Hello, Can you try to reproduce it with latest SDK 6.3.0.GA?
  2. Mostafizur Rahman 2017-11-23

    Hello [~amigoni], I just wanted to follow up here.Can you try SDK 6.3.0.GA? Let us know if you still experience any issue. We would be happy to assist you. Best Regards!

JSON Source