cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12634) Huge memory usage in Cordova android platform
Date Mon, 01 May 2017 17:55:04 GMT

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

Joe Bowser commented on CB-12634:
---------------------------------

How are you doing your memory profiling? What version of Android are you using? If you could
provide more details regarding your testing, we could see if we can recreate what you're experiencing.

> 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


Mime
View raw message