[AC-5148] TiUIWindowProxy does not get released in Alloy iOS instruments
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2017-11-23T23:35:23.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Alloy |
Labels | memoryleak |
Reporter | Leonardo Amigoni |
Assignee | Shak Hossain |
Created | 2017-08-17T04:01:59.000+0000 |
Updated | 2017-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
Hello, Can you try to reproduce it with latest SDK 6.3.0.GA?
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!