{ "id": "66119", "key": "TIMOB-4374", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-07-10T21:49:38.000+0000", "created": "2011-06-06T00:38:40.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "core", "reported-1.7.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-10T21:49:38.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "When creating a simple app which opens a window on startup, I get a memory leak when running the app in Xcode with \"Leaks\" \r\nperformance tool. Doesn't matter what's contained inside the window, I always get an initial memory leak. I attached a screenshot.\r\n\r\nThis doesn't happen with 1.6.3. When running the same code with 1.6.3, I get no leak in \"Leaks\" tool.\r\n\r\n\r\napp.js:\r\n{code} \r\nTitanium.UI.setBackgroundColor('black');\r\n\r\nvar win = Titanium.UI.createWindow();\r\nvar webview = Titanium.UI.createWebView({\r\n\thtml:\"This is some text inside a webview...it's not very long, but demonstrates what it should\",\r\n\theight:150,\r\n\twidth:300,\r\n\tautoDetect:[],\r\n\tscalesPageToFit:false,\r\n\tbackgroundColor:\"white\",\r\n\tleft:10,\r\n\ttop:100,\r\n\tcolor:\"black\"\r\n});\r\nwin.add(webview);\r\n\r\nwin.open();\r\n{code}\r\n", "attachment": [ { "id": "18726", "filename": "Screen shot 2011-06-06 at 9.22.16 AM.png", "author": { "name": "benlebt", "key": "benlebt", "displayName": "Ben S.", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-06T00:38:40.000+0000", "size": 323075, "mimeType": "image/png" } ], "flagged": false, "summary": "window.open leads to memory leak on app startup", "creator": { "name": "benlebt", "key": "benlebt", "displayName": "Ben S.", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "benlebt", "key": "benlebt", "displayName": "Ben S.", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK Version: \r\nversion=1.7.0\r\ntimestamp=06/02/11 11:34\r\n\r\nTI Studio build 1.0.0.201106021621, Mac OSX 10.6.7, IOS SDK 4.2, Xcode 3.2.5", "comment": { "comments": [ { "id": "423813", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket due to time passed and lack of progress for a number of years. Please open a new ticket if there are any problems.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-10T21:49:38.000+0000", "updated": "2017-07-10T21:49:38.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }