cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mindteck (JIRA)" <>
Subject [jira] [Created] (CB-12634) Huge memory usage in Cordova android platform
Date Wed, 05 Apr 2017 13:37:41 GMT
Mindteck created CB-12634:

             Summary: Huge memory usage in Cordova android platform
                 Key: CB-12634
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android, Browser, CordovaLib
            Reporter: Mindteck

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. 

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