You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Mindteck (JIRA)" <ji...@apache.org> on 2017/04/05 13:37:41 UTC

[jira] [Created] (CB-12634) Huge memory usage in Cordova android platform

Mindteck created CB-12634:
-----------------------------

             Summary: 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: 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. 

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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org