{ "id": "91519", "key": "TIMOB-9040", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13407", "description": "Sprint 2012-11 API", "name": "Sprint 2012-11 API", "archived": true, "released": true, "releaseDate": "2012-06-03" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-05-24T20:56:33.000+0000", "created": "2012-05-07T17:56:12.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "SupportTeam", "api" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [ { "id": "17463", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "92376", "key": "TIMOB-9272", "fields": { "summary": "iOS: Images being unnecessarily regenerated at same resolutions.", "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 } } } } ], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-06-18T17:09:03.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": "h2. Problem description\r\nimage view is composed by an array of images, being displayed in sequence. On iPad 1 device the app crashes. On iPad 2 or 3 and simulator the app works fine.\r\n\r\nh2. Steps to reproduce\r\nSee sample code and images included in attached zip file.\r\nAttaching log.\r\n\r\nh2. Additional notes\r\nCustomer ticket: http://support-admin.appcelerator.com/display/APP-817556\r\nEscalating for customer priority request (already past his deadline for the project)", "attachment": [ { "id": "27577", "filename": "APP817556.txt", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-07T17:56:12.000+0000", "size": 7900, "mimeType": "text/plain" }, { "id": "27935", "filename": "imageStressTest.zip", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-24T18:58:16.000+0000", "size": 2509748, "mimeType": "application/zip" }, { "id": "27578", "filename": "testimageview.zip", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-07T17:56:12.000+0000", "size": 6614149, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS: image view made with an array of images is crashing on iPad 1", "creator": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iPad 1 (first model)\r\niOS 5.1\r\ntested on TiSDK 2.0.1GA2", "comment": { "comments": [ { "id": "195659", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "While I'm working on this, I have to ask. 51 full-screen images is awfully expensive, and is causing memory panics (thus the crash on iPad 1). Why not use a video player and play this as a video clip? It'll be smoother and less a drain on resources.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-22T15:55:58.000+0000", "updated": "2012-05-22T15:55:58.000+0000" }, { "id": "196041", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I will be submitting a pull request as I did find ways we can shave some waste cycles and bytes when generating an image that is the same of the previous image. However, this will not solve the customer's issue. 51 full-sized images, even with fancy tricks, is too much for an iPad 1. I was able to recreate the memory-induced crash using as minimal and simple a native app as possible. In other words, Titanium is not at issue here.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-24T18:57:47.000+0000", "updated": "2012-05-24T18:57:47.000+0000" }, { "id": "196043", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Proposing this be marked invalid, and will be doing a pull request on related/linked issue.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-24T20:55:24.000+0000", "updated": "2012-05-24T20:55:24.000+0000" }, { "id": "196044", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Crash is caused by 51 images requiring too much RAM to be used on iPad 1. Could recreate natively.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-24T20:56:33.000+0000", "updated": "2012-05-24T20:56:33.000+0000" }, { "id": "199017", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing issue as invalid as per Blain's comments", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-18T17:09:03.000+0000", "updated": "2012-06-18T17:09:03.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }