{ "id": "155081", "key": "AC-1527", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2016-02-24T14:24:40.000+0000", "created": "2016-02-23T21:43:40.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2016-03-08T07:37:59.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "When using instruments to profile (using memory leak tool) a hello world Titanium app, I observe that is leaks memory. When I turn analytics off in tiapp.xml and clean the build and reset the simulator, the app no longer leaks memory. \r\n\r\nSteps to reproduce:\r\nti create --type app -p all --id com.hello.leak --name=helloleak -u http://example.com -d ~/Desktop\r\nti build --platform=iphone \r\n\r\nopen instruments\r\nselect memory leak\r\nselect the app and hit record,\r\nobserve that responsible caller CFNetwork leaks memory.\r\n\r\nSteps to prove CFNetwork is coming from analytics:\r\nstop the simulator and instruments\r\nchange analytics to false in tiapp.xml\r\nti clean\r\nti build --platform=iphone\r\nreopen instruments and select memory leak tool\r\nobserve no memory leaks.\r\n\r\n\r\nA few more notes: this matters because Titanium should not be leaking memory by default. If this can get fixed then Appcelerator can make an interesting and true claim, which is that hello world React-Native and NativeScript (aka native leak) leak memory by default, while titanium (for now when analytics are off) does not.\r\n\r\n", "attachment": [], "flagged": false, "summary": "Analytics leak memory", "creator": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "any, but confirmed on iOS", "comment": { "comments": [ { "id": "377771", "author": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "body": "this is not resolved! I'll record a video and give you a .trace file and cc ingo on this later today. ", "updateAuthor": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-02-24T15:10:40.000+0000", "updated": "2016-02-24T15:10:40.000+0000" }, { "id": "377847", "author": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This apparently is resolved in 5.2.0.GA but was an issue in 5.2.0.v20160216202526 as well as master branch back in January. I now agree with closing this issue. If I see it come back up, I'll report it again.", "updateAuthor": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-02-25T05:21:04.000+0000", "updated": "2016-02-25T05:21:04.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }