[ 
https://issues.apache.org/jira/browse/CB-6979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15028669#comment-15028669
 ] 

ASF GitHub Bot commented on CB-6979:
------------------------------------

GitHub user vladimir-kotikov opened a pull request:

    https://github.com/apache/cordova-plugin-contacts/pull/89

    CB-6979 Don't create duplicates for extracted contacts photos

    Fix for [CB-6979](https://issues.apache.org/jira/browse/CB-6979)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-plugin-contacts CB-6979

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-contacts/pull/89.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #89
    
----
commit 9df4809abe1b2d1ad04031e5a02a046757b20947
Author: Vladimir Kotikov <[email protected]>
Date:   2015-11-26T12:21:57Z

    CB-6979 Don't create duplicates for extracted contacts photos

----


> CDVContact : ExtractPhotos creating replica photos 
> ---------------------------------------------------
>
>                 Key: CB-6979
>                 URL: https://issues.apache.org/jira/browse/CB-6979
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Contacts
>         Environment: iOS
>            Reporter: Geetha
>            Assignee: Vladimir Kotikov
>            Priority: Minor
>              Labels: iOS, triaged
>
> When we try to get the contacts from the Addressbook , in CDVContact in the 
> extractPhotos method , the photos are extracted and stroed in the tmp folder. 
> But duplicates of photos have created in tm because everytime the photo URL 
> is been a new one thus creating a photo and increasing the memory consumption 
> of the app. We ve found that app memory usage piles up when we try to load 
> the more no of  contacts which leads to low memory warning to the app and 
> thus killed by the OS. 
> This is the observation we found , Please let us know if we can do some 
> alternative.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to