{ "id": "97799", "key": "TIMOB-10091", "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": "13870", "description": "", "name": "Sprint 2012-16 API", "archived": true, "released": true, "releaseDate": "2012-08-13" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-08-23T19:05:43.000+0000", "created": "2012-07-23T12:50:17.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "module_window", "qe-testadded" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "19815", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "outwardIssue": { "id": "97652", "key": "TIMOB-10040", "fields": { "summary": "Android: XML: v8- Application crashes with out of memory error.", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "22133", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "103569", "key": "TIMOB-11525", "fields": { "summary": "Android: Relative path for Window URL does not work on 3_0_X", "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": "High", "id": "2" }, "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } } ], "assignee": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-09-26T10:20:17.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "When opening a window with an \"url\" script, the context created for this window is never\r\nreleased after the window has been closed. This can lead to memory leaks if the script\r\nkept global references to values in that context.\r\n\r\nSee the attached app.js and test.js scripts to reproduce this bug.\r\nCreate a project with both of these files in the Resources folder.\r\n\r\n1. Run application and monitor heap with DDMS.\r\n2. Click \"Open Window\".\r\n3. Hit the back button to close the window.\r\n4. Repeat steps 2 - 3. Watch the heap size and see if it grows.\r\n\r\nActual: Heap size continues to grow in size.\r\nExpected: The memory allocated in the new context should be released\r\n and eventually collected. Heap size should reach a ceiling and remain stable.\r\n", "attachment": [ { "id": "29958", "filename": "app.js", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-23T12:50:43.000+0000", "size": 297, "mimeType": "application/x-javascript" }, { "id": "29959", "filename": "test.js", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-23T12:51:02.000+0000", "size": 351, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "Android: Window URL contexts never freed after window has closed.", "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": "Runtime: V8", "comment": { "comments": [ { "id": "208932", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is one of the causes of the memory leak seen in TIMOB-10040.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-23T12:52:13.000+0000", "updated": "2012-07-23T12:52:13.000+0000" }, { "id": "214073", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Created [PR #2720|https://github.com/appcelerator/titanium_mobile/pull/2720] to resolve issue.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-13T11:08:42.000+0000", "updated": "2012-08-13T11:08:42.000+0000" }, { "id": "216716", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Environment used for verification -\r\nTested with Titanium SDK: 2.2.0.v20120828153312\r\nTested with Titanium  Studio: 2.1.2.201208201549\r\nDevice - Android 2.2 emulator\r\nMachine OS - MAC 10.8", "updateAuthor": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-29T02:32:32.000+0000", "updated": "2012-08-29T02:32:32.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }