帖子
帖子
用户
博客
课程
显示全部楼层
41
帖子
0
勋章
208
Y币

[BUG] photoBrowser加载导致内存溢出

[复制链接]
发表于 2016-4-15 21:54:16
使用photoBrowser 出现错误
下面是传递给photoBrowser的参数
{
        "placeholderImg" : "",
        "bgColor" : "#000",
        "activeIndex" : 1,
        "images" : ["http://xxxxxx:9000/filedown/chongwujianding/2016-04/52a3890c-3acc-4e6b-923c-5e05726b288b.jpg", "http://xxxxx:9000/filedown/chongwujianding/2016-04/887e04c8-7f9f-4f8f-b14e-1542613332fb.jpg",
        "http://xxxxx:9000/filedown/chongwujianding/2016-04/2067b711-54ce-4c5e-8ef9-8a1a613592be.jpg", "http://xxxxx:9000/filedown/chongwujianding/2016-04/a3dad060-3c36-47c4-a420-d7da58e1be79.jpg",
        "http://xxxxx:9000/filedown/chongwujianding/2016-04/7aef7f41-9389-4468-81a5-00fab815f1f4.jpg", "http://xxxxx:9000/filedown/chongwujianding/2016-04/5e8da4a4-8752-4a50-85de-73e9ea10694a.png",
        "http://xxxxx:9000/filedown/chongwujianding/2016-04/269275fb-babb-44c1-8289-13937e0479c3.jpg", "http://xxxxx:9000/filedown/chongwujianding/2016-04/b940967b-1700-4162-8d6b-5f366d931fe8.jpg"]
}

下面是在控制台中输出的错误堆栈
[2016-04-15 21:39:07] sorry, we have catch a crash log
[2016-04-15 21:39:07] java.lang.OutOfMemoryError
[2016-04-15 21:39:07]         at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
[2016-04-15 21:39:07]         at android.graphics.BitmapFactory.decodeStreamInternal(BitmapFactory.java:627)
[2016-04-15 21:39:07]         at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:603)
[2016-04-15 21:39:07]         at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:641)
[2016-04-15 21:39:07]         at com.uzmap.pkg.uzmodules.photoBrowser.ImageLoader.getImageFromNet(ImageLoader.java:222)
[2016-04-15 21:39:07]         at com.uzmap.pkg.uzmodules.photoBrowser.ImageLoader$ImageDownTask.run(ImageLoader.java:419)
[2016-04-15 21:39:07]         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
[2016-04-15 21:39:07]         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
[2016-04-15 21:39:07]         at java.lang.Thread.run(Thread.java:841)


0
帖子
0
勋章
1320
Y币
提示: 作者被禁止或删除 内容自动屏蔽
0
帖子
1
勋章
1640
Y币
你的手机型号 和 测试图片打包发一下
41
帖子
0
勋章
208
Y币
BUG验证 发表于 2016-4-18 10:17
请贴一下你的测试机型以及机型系统。

这连个文件就是了
Screenshot_2016-04-18-20-54-05_com.android.settin.png
2.png
您需要登录后才可以回帖 登录

本版积分规则