cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <>
Subject [jira] [Updated] (CB-12634) Huge memory usage in Cordova android platform
Date Thu, 25 May 2017 18:06:04 GMT


Joe Bowser updated CB-12634:
    Priority: Minor  (was: Major)

> Huge memory usage in Cordova android platform
> ---------------------------------------------
>                 Key: CB-12634
>                 URL:
>             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message