{ "id": "82948", "key": "AC-2830", "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-12-28T05:13:25.000+0000", "created": "2011-11-21T02:12:31.000+0000", "labels": [ "1.7.6", "camera", "ios", "iphone,", "memory" ], "versions": [], "issuelinks": [], "assignee": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "updated": "2016-03-08T07:47:45.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 testing app with camera feature on 1.7.3, black screen after taking picture/editing doesn't happen.\r\n\r\nNow after upgrading 1.7.6 nightly, black screen appears right after taking picture or editing. Weird thing we found is device complains about running out of memory with 64MB remaining:\r\n\r\n2011-11-19 03:57:40 Received memory warning. Level=1\r\n2011-11-19 03:57:40 [INFO] Due to memory conditions, 0 of 0 image cache entries were unloaded from cache.\r\n2011-11-19 03:57:41 [DEBUG] Remaining memory: 63.90625\r\n\r\nAfter restarting the device and app started with 256MB+ memory left, black screen after taking/editing picture didn't show up. \r\n\r\nWe run further tests, opened several apps on phone and after opening several number of apps, black screen after taking picture/edit appeared on 1.7.6 build with the following log:\r\n\r\n2011-11-19 04:24:39 [Warning] IORegisterForSystemPower failed\r\n2011-11-19 04:24:41 [DEBUG] Remaining memory: 8.3046875\r\n2011-11-19 04:24:44 Received memory warning. Level=1\r\n2011-11-19 04:24:44 [INFO] Due to memory conditions, 0 of 0 image cache entries were unloaded from cache.\r\n\r\nWe installed version which was built using 1.7.3 and black screen after taking picture didn't appear. We noticed that remaining memory when app starts is usually higher:\r\n\r\n2011-11-19 04:47:01 [DEBUG] Remaining memory: 83.10546875\r\n\r\nWe tested application built with 1.7.6 again just to confirm how much memory is left when app start and we got this:\r\n\r\n2011-11-19 04:58:25 [DEBUG] Remaining memory: 17.36328125\r\n\r\nand after taking a picture:\r\n\r\n2011-11-19 04:58:55 [Warning] IORegisterForSystemPower failed\r\n2011-11-19 04:58:55 [DEBUG] Remaining memory: 11.00390625\r\n2011-11-19 04:58:56 Received memory warning. Level=1\r\n2011-11-19 04:58:56 [INFO] Due to memory conditions, 0 of 0 image cache entries were unloaded from cache.\r\n\r\nThe summary is memory management in 1.7.3 is better compare to 1.7.6 nightly. Also we noticed that app starts with bigger memory on 1.7.3 compare to 1.7.6 although it might not be accurate.\r\n\r\n\r\nThanks\r\nRey\r\n", "attachment": [], "flagged": false, "summary": "App complaining of memory issues with 64MB left remaining that causes camera to display black screen after editing", "creator": { "name": "reyjexter", "key": "reyjexter", "displayName": "Rey Bumalay", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "reyjexter", "key": "reyjexter", "displayName": "Rey Bumalay", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS 5, Titanium Mobile 1.7.6", "comment": { "comments": [ { "id": "177373", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Thanks for raising this ticket.\r\n\r\nIn order for me to escalate it to the core team, all the fields must be complete. Please check it against the [JIRA Ticket Checklist|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist], and add any missing information.\r\n\r\nFurthermore, a test case must be included and run without modification, as per the [Creating a Test Case|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-CreatingaTestCase] section.\r\n\r\nI will mark this resolved for now. Please reopen it once it is complete, and I will move it to the main project.\r\n\r\nCheers", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-28T05:13:18.000+0000", "updated": "2011-12-28T05:13:18.000+0000" }, { "id": "183594", "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:21.000+0000", "updated": "2012-02-17T02:23:21.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }