Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 978A0C2CE for ; Wed, 18 Apr 2012 19:49:07 +0000 (UTC) Received: (qmail 21145 invoked by uid 500); 18 Apr 2012 19:49:07 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 21117 invoked by uid 500); 18 Apr 2012 19:49:07 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 21109 invoked by uid 99); 18 Apr 2012 19:49:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2012 19:49:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2012 19:49:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 42F653A1213 for ; Wed, 18 Apr 2012 19:48:40 +0000 (UTC) Date: Wed, 18 Apr 2012 19:48:40 +0000 (UTC) From: "Joe Bowser (Assigned) (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1829836843.2350.1334778520275.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2004103904.38011.1333117588514.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Assigned] (CB-415) Taking multiple pictures with the camera causes the app to crash MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser reassigned CB-415: ----------------------------- Assignee: Joe Bowser (was: Anis Kadri) > Taking multiple pictures with the camera causes the app to crash > ---------------------------------------------------------------- > > Key: CB-415 > URL: https://issues.apache.org/jira/browse/CB-415 > Project: Apache Callback > Issue Type: Bug > Components: Android > Affects Versions: 1.5.0 > Reporter: Simon MacDonald > Assignee: Joe Bowser > Fix For: 1.7.0 > > > kzusy kevin.zusy@lmnsolutions.com > Hey, > I've been working on an app that uses the camera. After taking > several pictures, 1 at a time (several calls to > navigator.camera.getPicture(), the app crashes with a dalvikvm error > "Out of memory on a 31961104-byte allocation". This happens with > android, but not iOS. I have been testing with an iPad2 and an Asus > Transformer Prime TF201 running Android 4.0.3. > getPicture is called with the following options: > { > quality : 50, > targetWidth : 100, > targetHeight : 100, > destinationType : Camera.DestinationType.FILE_URI, > sourceType : Camera.PictureSourceType.CAMERA, > allowEdit : false > } > I've tried lowering the quality to 5, but the app still crashes. This > also only happens with either getPicture or captureImage. It doesn't > happen with captureVideo or captureAudio. > Any idea why this might be happening/how to fix it? > Crash log: https://gist.github.com/2238512 > Thanks, > kzusy -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira