{ "id": "92472", "key": "AC-2771", "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": "2012-07-31T05:37:19.000+0000", "created": "2012-05-29T07:38:31.000+0000", "labels": [ "android", "crash", "defect" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:47:40.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": [], "description": "I downloaded KitchenSink app, and modified contacts_db.js (attached) to display a big contact list, 132 contacts, in my case.\r\nI scroll the list down and up few times. The app got slower and slower, and eventually hanged.\r\n\r\nIs there a memory leak that clog the performance, or other issues?\r\n\r\nThanks\r\n", "attachment": [ { "id": "30169", "filename": "app.apk", "author": { "name": "dr.tony.lin", "key": "dr.tony.lin", "displayName": "Tony Lin", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-31T07:46:24.000+0000", "size": 9540123, "mimeType": "application/octet-stream" }, { "id": "28001", "filename": "contacts_db.js", "author": { "name": "dr.tony.lin", "key": "dr.tony.lin", "displayName": "Tony Lin", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-29T07:38:31.000+0000", "size": 3153, "mimeType": "text/javascript" }, { "id": "28002", "filename": "emo_im_happy.png", "author": { "name": "dr.tony.lin", "key": "dr.tony.lin", "displayName": "Tony Lin", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-29T07:38:31.000+0000", "size": 1273, "mimeType": "image/png" } ], "flagged": false, "summary": "App Crashed After Just Few Scrolling", "creator": { "name": "dr.tony.lin", "key": "dr.tony.lin", "displayName": "Tony Lin", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dr.tony.lin", "key": "dr.tony.lin", "displayName": "Tony Lin", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Mobile 2.0.1GA2\r\nGoogle API Android 2.3.3", "comment": { "comments": [ { "id": "197115", "author": { "name": "dr.tony.lin", "key": "dr.tony.lin", "displayName": "Tony Lin", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Any update on this issue?", "updateAuthor": { "name": "dr.tony.lin", "key": "dr.tony.lin", "displayName": "Tony Lin", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-04T13:00:47.000+0000", "updated": "2012-06-04T13:00:47.000+0000" }, { "id": "197696", "author": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-07T10:51:42.000+0000", "updated": "2012-06-07T10:51:42.000+0000" }, { "id": "198135", "author": { "name": "dr.tony.lin", "key": "dr.tony.lin", "displayName": "Tony Lin", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is not related to photos, photos make it worse. I took out photos, and with my contacts database (132 contacts). It became unresponsive after few scrolling. Initial scrolling was not bad, scrolling down was a bit slow, up was fast, but it got slower and slow.", "updateAuthor": { "name": "dr.tony.lin", "key": "dr.tony.lin", "displayName": "Tony Lin", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-12T05:49:16.000+0000", "updated": "2012-06-12T05:49:16.000+0000" }, { "id": "208049", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "body": "I did test this problem on the emulator and on a device, and doesn't seem to give any particular problem. Which device are you using?", "updateAuthor": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-07-17T08:44:45.000+0000", "updated": "2012-07-17T08:44:45.000+0000" }, { "id": "208859", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hello,\r\n\r\nHave you been able to fix this issue? I could not replicate the issue my side.\r\n\r\nThanks", "updateAuthor": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-07-23T07:33:35.000+0000", "updated": "2012-07-23T07:33:35.000+0000" }, { "id": "210667", "author": { "name": "dr.tony.lin", "key": "dr.tony.lin", "displayName": "Tony Lin", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The issue is not resolved, tested this morning.\r\n\r\nCould you try this apk with a larger contact database?\r\n\r\nThanks.", "updateAuthor": { "name": "dr.tony.lin", "key": "dr.tony.lin", "displayName": "Tony Lin", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-31T07:46:24.000+0000", "updated": "2012-07-31T07:46:24.000+0000" }, { "id": "287210", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nI tested this issue with the test code below. I can't reproduce this issue. In my case, I tested with 1000+ contacts. Please check my test code with our latest Ti builds and let me know if you have any problems. \r\n\r\nh5. Test Environments\r\nMac OS X 10.8.6\r\nTi SDK 3.2.0.GA\r\nTi CLI 3.2.0\r\nAndroid 2.3.3 Device \r\n\r\n\r\nh5. Test Code\r\n\r\n\r\n{code}\r\n\r\nvar win = Ti.UI.createWindow({\r\n\ttitle : 'contact people',\r\n\tbackgroundColor : '#000'\r\n\r\n});\r\nvar android = (Ti.Platform.osname === 'android');\r\n\r\n// getting all from Android is very slow...\r\nvar activityIndicator;\r\nif (android) {\r\n\tactivityIndicator = Ti.UI.createActivityIndicator({\r\n\t\tmessage : 'Loading all contacts, please wait...'\r\n\t});\r\n\tactivityIndicator.show();\r\n}\r\n\r\nvar makeTable = function() {\r\n\tvar people = Titanium.Contacts.getAllPeople();\r\n\tvar rows = [];\r\n\r\n\talert(people.length);\r\n\tfor (var i = 0; i < people.length; i++) {\r\n\t\tvar title = people[i].fullName;\r\n\t\tif (!title || title.length === 0) {\r\n\t\t\ttitle = \"(no name)\";\r\n\t\t}\r\n\t\trows[i] = Ti.UI.createTableViewRow({\r\n\t\t\ttitle : title,\r\n\t\t\tperson : people[i],\r\n\t\t\thasChild : true\r\n\t\t});\r\n\r\n\t}\r\n\treturn rows;\r\n};\r\n\r\nvar tableview = Ti.UI.createTableView({\r\n\tdata : makeTable()\r\n});\r\n\r\nwin.add(tableview);\r\nif (android && activityIndicator) {\r\n\tactivityIndicator.hide();\r\n}\r\n\r\nwin.open(); \r\n\r\n\r\n{code}\r\n\r\nThanks ", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-01-08T17:16:30.000+0000", "updated": "2014-01-15T18:57:50.000+0000" }, { "id": "288307", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing since the issue can't be reproduced with latest 3.2GA of TISDK.", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-01-15T18:58:19.000+0000", "updated": "2014-01-15T18:58:19.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }