[ 
https://issues.apache.org/jira/browse/CB-12634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Bowser updated CB-12634:
----------------------------
    Component/s:     (was: cordova-lib)
                     (was: cordova-browser)

> Huge memory usage in Cordova android platform
> ---------------------------------------------
>
>                 Key: CB-12634
>                 URL: https://issues.apache.org/jira/browse/CB-12634
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-android
>            Reporter: Mindteck
>            Priority: Minor
>         Attachments: adcjcead.png, dgbbbbai.png, dgijajid.png, edgefied.png, 
> fcfbdbgc.png, fjjjehid.png, jbadeibh.png
>
>
> Our application consist of following components:
> 1. Android Native code + Java Jar
> 2. CordovaLib + Own created Cordova plugin
> 3. JavaScript, HTML, CSS
> In our android screen we have a button which initiates web page (chromium 
> browser) where we need to draw some graphs and digits on a certain interval. 
> Those data are receiving in Android native end from a remote device & we are 
> passing those data to the web page through cordova plug-in.
> On Button click we are initiating Cordova plug in along with web page.
> whenever  the plugin is initiating  and the Cordova web page is loading it is 
> taking close to 50MB of memory. 
> Now if we exit from the cordova page and back to android native screen that 
> 50MB is not fully recovered. If we continue this type of testing i.e, 
> entering and exiting from the cordova page continuously is causes a huge 
> memory leak in our app. 
> Questions:
> 1. Is it the usual behavior in cordova? 
> 2. As multiple Threads are running in CordovaLib framework, so when we are 
> exiting from cordova screen what is the status of those internal Threads? Are 
> those threads still running in the background even if we are exiting from 
> cordova webview to android native page?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to