ilovepumpkin commented on issue #1498:
URL: 
https://github.com/apache/cordova-android/issues/1498#issuecomment-1257095075

   Unfortunately I have to refresh the web view in programming way - it does 
not have to "window.location.reload()" or "history.go(0)",  any other methods 
that I can use to refresh cordova webview? 
   
   If Cordova does not cache anything, the problem might be in the webview 
itself. I have also tried to load a pure static web page  - just open a Bing 
search page, do some search, then save the HTML page to local, then upload it 
to www folder of the cordova application in my Andriod Emulator. After loading 
this static web page and refresh using "window.location.reload()" for many 
times,  I also can see the OOM issue. So maybe it is very likely the problem is 
in android webview. 
   
   Yes, the RAM might be go up 1 GB, and crash after that, but sometimes it 
crashes at about 500 MB.
   
   Memory heap tools and debugging native project in Android Studio are good 
ideas. Thanks a lot for your advice! 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to