{ "id": "115422", "key": "TIMOB-14097", "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": [ { "id": "15564", "description": "2013 Sprint 15 API", "name": "2013 Sprint 15 API", "archived": true, "released": true, "releaseDate": "2013-07-29" }, { "id": "15567", "description": "2013 Sprint 15", "name": "2013 Sprint 15", "archived": true, "released": true, "releaseDate": "2013-07-29" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-08-28T17:44:18.000+0000", "created": "2013-06-04T00:47:35.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-3.1.2", "qe-testadded" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [ { "id": "29665", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "94907", "key": "TIMOB-9933", "fields": { "summary": "BlackBerry: make sure that TiObjects get to the destruction state", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2013-10-01T21:32:02.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "The proxy objects are never being collected by the V8 engine.\r\nWe appear to be using Persistent handles, but never make them weak\r\nor setup callbacks to properly dispose of them once the JS object is unreachable.\r\n\r\nh3. Test Case\r\n{code:javascript}\r\nsetInterval(function() {\r\n Ti.UI.createView();\r\n}, 500);\r\n{code}\r\n\r\nIf you run the above test case and monitor the memory usage, you\r\nwill see it continue to go up with out any collections.\r\n", "attachment": [], "flagged": false, "summary": "BlackBerry: Proxies are never collected by GC", "creator": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "257730", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Here's another test case which opens / closes a window with a bunch of labels:\n\n{code:javascript}\nvar win = Ti.UI.createWindow();\n\nfunction openWin() {\n\tvar win = Ti.UI.createWindow({\n\t\tbackgroundColor: 'red'\n\t});\n\t\n\tfor (var i = 0; i < 100; i++) {\n\t\tvar label = Ti.UI.createLabel({\n\t\t\ttext: 'Label #' + i\n\t\t});\n\t\twin.add(label);\n\t}\n\t\n\tsetTimeout(function() {\n\t\twin.close();\n\t\twin = null;\n\t}, 1000);\n\t\n\twin.open();\n}\n\nsetInterval(openWin, 3000);\n\nwin.open();\n\n{code}", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-13T19:52:05.000+0000", "updated": "2013-06-13T19:52:05.000+0000" }, { "id": "266268", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix by running the test code provided & its working as expected.\r\nThus closing.\r\n\r\nEnvironment:\r\nAppcel Studio : 3.1.2.201308091728\r\nTi SDK : 3.1.2.v20130809141556\r\nMac OSX : 10.8.4\r\nAlloy : 1.2.0-alpha6\r\nCLI - 3.1.2-alpha\r\nwin 7 \r\nWin 8 \r\nZ10 BB simulator : 10.0.10.822\r\nZ10 device running 10.0.10.88\r\n\r\nQ10 Simulator : 10.1.0.1720\r\nQ10 Dev alpha C device running 10.1.0.138", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-08-13T18:35:41.000+0000", "updated": "2013-08-13T18:35:41.000+0000" }, { "id": "268917", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Re-closing. Reopened to fix priority.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-29T18:53:08.000+0000", "updated": "2013-08-29T18:53:08.000+0000" }, { "id": "273533", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix, app does exactly what is expected.\n\nEnvironment:\nTitanium Studio, build: 3.1.3.201309132423\nTitanium SDK: 3.1.3.GA\nBB SDK: 10.2.1\nMac OSX : 10.8.5\nAlloy : 1.2.2\nZ10 BB simulator : 10.2.1\nZ10 device running 10.0.10.88", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-01T21:31:52.000+0000", "updated": "2013-10-01T21:31:52.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }