zgy621101
紫风幻雪
2017-11-24 01:20

HelloChart框架如何避免OOM

  • oom

java.lang.OutOfMemoryError
at android.graphics.Bitmap.nativeCreate(Native Method)
at android.graphics.Bitmap.createBitmap(Bitmap.java:689)
at android.graphics.Bitmap.createBitmap(Bitmap.java:666)
at android.graphics.Bitmap.createBitmap(Bitmap.java:633)
at lecho.lib.hellocharts.renderer.LineChartRenderer.onChartSizeChanged(LineChartRenderer.java:72)
at lecho.lib.hellocharts.view.AbstractChartView.onSizeChanged(AbstractChartView.java:78)
at android.view.View.setFrame(View.java:14124)
at android.view.View.layout(View.java:14036)
at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1021)

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

1条回答