Giter Site home page Giter Site logo

flybanner's Issues

java.lang.OutOfMemoryError 内存溢出问题

出现过一次,是最新的版本,一直滚动或者转动的话会出现这种情况
java.lang.OutOfMemoryError: Failed to allocate a 17 byte allocation with 0 free bytes and 3GB until OOM
at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:241)
at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:207)
at java.lang.Thread.run(Thread.java:818)

暂时发现了两个问题

第一个问题,加载本地图片的时候有内存溢出,3张图片分别为
String url1="http://h.hiphotos.baidu.com/image/pic/item/a2cc7cd98d1001e9460fd63bbd0e7bec54e797d7.jpg";
String url2="http://f.hiphotos.baidu.com/image/pic/item/b2de9c82d158ccbfc18f770e1cd8bc3eb13541d7.jpg";
String url3="http://h.hiphotos.baidu.com/image/pic/item/8435e5dde71190eff91e51ebcb1b9d16fdfa6019.jpg";
第二个问题,当加载只有一张的时候能否提供一个停止轮播的接口,并且只有一张图片的时候手滑也没必要再滑了吧。我已加star,希望博主能在空闲时间修复下

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.