Re: Android memory holding in complex layout

2017-09-04 Thread chris chu
Hi, Shihan Zheng: Thank you for your suggestion, it help me a lot. I will tell our front end team to do the optimize work. Sincerely Chris. 2017-09-04 20:56 GMT+08:00 shihan zheng : > Hi, Chris: > Thank you for your feedback . As you know,Weex needs to save the Dom > tree to

Re: Android memory holding in complex layout

2017-09-04 Thread shihan zheng
Hi, Chris: Thank you for your feedback . As you know,Weex needs to save the Dom tree to re-render the native view when scrolling up and down ; We can easily reuse native view because of saving the Dom tree. As you suggest, serializing the Dom tree to sdcard may cause the scroll be not smooth

Android memory holding in complex layout

2017-09-03 Thread chris chu
Hi, Weex Team: On Android, I found my Java heap kept growing(from 50MB to 120MB), when I scroll a complex layout in "WXListComponent". In this weex page, it contains about hundreds of list items, and ten components in each list item, including image component. The Java Heap memory won't go dow