{ "id": "79940", "key": "AC-3118", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2011-10-20T13:46:12.000+0000", "created": "2011-09-01T14:46:09.000+0000", "labels": [ "bug", "ios", "memory", "tableview" ], "versions": [], "issuelinks": [], "assignee": { "name": "mapperson", "key": "mapperson", "displayName": "Matthew Apperson", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:48:10.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "When setting a .png image as the backgroundImage of a tableView, the application leaks about 10-15 megs of memory. I am unsure if this is a problem with other file types. This was tested using instruments on an ipod touch 4th gen.", "attachment": [ { "id": "23055", "filename": "altBackground.png", "author": { "name": "jasonsznol", "key": "jasonsznol", "displayName": "Jason Sznol", "active": true, "timeZone": "America/New_York" }, "created": "2011-09-26T07:04:54.000+0000", "size": 228086, "mimeType": "image/png" } ], "flagged": false, "summary": "TableView backgroundImage property causes huge memory leak", "creator": { "name": "jasonsznol", "key": "jasonsznol", "displayName": "Jason Sznol", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "jasonsznol", "key": "jasonsznol", "displayName": "Jason Sznol", "active": true, "timeZone": "America/New_York" }, "environment": "IOS 4.3.5\r\nTiMob 1.7.2", "comment": { "comments": [ { "id": "166847", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Jason\r\n\r\nPlease would you provide [a usecase|http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-CreatingGoodUsecases] and also all the rest of the information requested in the [Jira Ticket Checklist|http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-Summary%3AJiraTicketChecklist]. Once this ticket is complete and the issue is proven, we can move it to the main project.\r\n\r\nMany thanks", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-09-23T17:02:35.000+0000", "updated": "2011-09-23T17:02:35.000+0000" }, { "id": "166930", "author": { "name": "jasonsznol", "key": "jasonsznol", "displayName": "Jason Sznol", "active": true, "timeZone": "America/New_York" }, "body": "I've attached the png. The code would look something similar to this in app.js.\r\n\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar table = Ti.UI.createTableView({\r\n backgroundImage: 'altBackground.png'\r\n});\r\n\r\nwin.add(table);\r\n\r\nwin.open();", "updateAuthor": { "name": "jasonsznol", "key": "jasonsznol", "displayName": "Jason Sznol", "active": true, "timeZone": "America/New_York" }, "created": "2011-09-26T07:04:54.000+0000", "updated": "2011-09-26T07:04:54.000+0000" }, { "id": "169811", "author": { "name": "mapperson", "key": "mapperson", "displayName": "Matthew Apperson", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Jason, \r\n\r\nPlease update the ticket with this information, rather then adding the information to the comments.\r\n\r\nAlso, how are you going about testing for the memory leak? (please also add this to the description of the ticket)\r\n\r\nBest regards,\r\nMatt", "updateAuthor": { "name": "mapperson", "key": "mapperson", "displayName": "Matthew Apperson", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-20T09:06:23.000+0000", "updated": "2011-10-20T09:06:23.000+0000" }, { "id": "183560", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Closing due to inactivity. If this issue still exists, please raise a new ticket, including all the information in the [JIRA Ticket Checklist|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist] to ensure that we can escalate it quickly. Read [How to Submit a Bug Report|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report] if you have not read it before, and always start a ticket using the [JIRA Ticket Template|https://wiki.appcelerator.org/display/guides/JIRA+Ticket+Template].\r\n\r\nThanks in advance", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-02-17T02:23:10.000+0000", "updated": "2012-02-17T02:23:10.000+0000" }, { "id": "225264", "author": { "name": "ktecho", "key": "ktecho", "displayName": "Luis Miguel García", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm able to reproduce this problem. I have a 77 Kb .png. When I \"open\" the Window that has the tableView with backgroundImage, it \"Force Closes\".\n\nIn the DDMS logs I can see that my application is trying to get 2 MB of memory, and the VM is denying so much memory. If I comment out the \"backgroundImage\" line while creating the tableView, I don't get the FC.\n\nI've tried to make a use case to upload to Jira, but I couldn't reproduce it outside my app.", "updateAuthor": { "name": "ktecho", "key": "ktecho", "displayName": "Luis Miguel García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-28T22:28:04.000+0000", "updated": "2012-10-28T22:28:04.000+0000" }, { "id": "225348", "author": { "name": "ktecho", "key": "ktecho", "displayName": "Luis Miguel García", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I forgot to mention that I'm on Titanium Mobile 2.1.3 and Testing in Android Emulator 2.3.3.\n\nIs there any more info I can provide to help reproduce and fix the problem?\n\nThanks a lot.", "updateAuthor": { "name": "ktecho", "key": "ktecho", "displayName": "Luis Miguel García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-29T17:21:51.000+0000", "updated": "2012-10-29T17:21:51.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }