fengqingyun2008 commented on issue #2488: android weex加载远程js 有些手机oom
URL: https://github.com/apache/incubator-weex/issues/2488#issuecomment-555410982
 
 
   +1,我这也报相同的问题,我觉得限制js的大小,不是解决问题的办法,js逻辑稍微复杂点,就会超过250K
   -----------------------------------------
   `HARDWARE=bigfish
   RADIO=HiSTBAndroidV600R003C01SPC032
   versionCode=148
   HOST=ubuntu12
   TAGS=dev-keys
   ID=S-Box8L44C
   MANUFACTURER=Hisilicon
   TYPE=eng
   TIME=1568000712000
   
FINGERPRINT=HiSTBAndroidV5/Hi3798MV300/Hi3798MV300:4.4.2/S-Box8L44C/8171090000010:eng/test-keys
   UNKNOWN=unknown
   BOARD=Hi3798MV300
   PRODUCT=Hi3798MV300
   code=CI4OOB
   versionName=4.4.8
   DISPLAY=S-Box8L44C test-keys
   USER=jiangxiaohe
   DEVICE=Hi3798MV300
   MODEL=S-Box8L44C
   BOOTLOADER=unknown
   CPU_ABI=armeabi-v7a
   CPU_ABI2=armeabi
   IS_DEBUGGABLE=true
   devicesId=9268508678b1199b
   SERIAL=003201FF0001007006BB60D21C6B1054
   releaseTime=2019.11.15-101614
   BRAND=HiSTBAndroidV6
   java.lang.OutOfMemoryError
        at java.io.ByteArrayOutputStream.expand(ByteArrayOutputStream.java:91)
        at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:201)
        at 
com.taobao.weex.adapter.DefaultWXHttpAdapter.readInputStreamAsBytes(DefaultWXHttpAdapter.java:179)
        at 
com.taobao.weex.adapter.DefaultWXHttpAdapter.access$200(DefaultWXHttpAdapter.java:45)
        at 
com.taobao.weex.adapter.DefaultWXHttpAdapter$1.run(DefaultWXHttpAdapter.java:88)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
        at java.lang.Thread.run(Thread.java:841)
   `
   
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to