KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm using a viewpager to load around 50 webviews... All the webviews are loaded into assests and each weview has an HTML page that is accessing around 70 images each... As i swipe, my app is crashing after around 30 pages, might be cos of the webviews still keep their reference to the images in the assests folder... Is there any way to release the webviews that the Viewpager is not using at that particular time? awesomePager.setAdapter(new AwesomePagerAdapter(this, webviewdata)); Details: Android WebView Memory Leak when loading html file from Assets Failed adding to JNI local ref table (has 512 entries) "Thread-375" prio=5 tid=15 RUNNABLE while dynamically loading webview on viewpager Logcat:
Tags (comma-separated)
Save Edits
Cancel