- Memory leak while using notes still in present. Switch between pages and eventually you'll get that crash. By the way, tracebacks are different this time (sorry for long post)
It may look like this
Code:
java.lang.OutOfMemoryError: Failed to allocate a 10513164 byte allocation with 6676544 free bytes and 6MB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at android.graphics.Bitmap.nativeCreate(Native Method)
at android.graphics.Bitmap.createBitmap(Bitmap.java:835)
at android.graphics.Bitmap.createBitmap(Bitmap.java:812)
at android.graphics.Bitmap.createBitmap(Bitmap.java:775)
at com.by.hw.util.CommonUtil.createAshemBitmap(CommonUtil.java:38)
at com.by.hw.drawcomponent.MainDrawView$c.a(MainDrawView.java:3446)
at com.by.hw.drawcomponent.MainDrawView$c.a(MainDrawView.java:3563)
at com.by.hw.drawcomponent.MainDrawView$c.handleMessage(MainDrawView.java:3518)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.os.HandlerThread.run(HandlerThread.java:61)
And this (same as on june update)
Code:
java.lang.OutOfMemoryError: Failed to allocate a 10513164 byte allocation with 3977640 free bytes and 3MB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at android.graphics.BitmapFactory.nativeDecodeByteArray(Native Method)
at android.graphics.BitmapFactory.decodeByteArray(BitmapFactory.java:522)
at android.graphics.BitmapFactory.decodeByteArray(BitmapFactory.java:545)
at com.by.hw.drawcomponent.IByNote$BitmapDrawItem.getBitmap(Unknown Source)
at com.by.hw.util.NoteUtil.basciDrawOfNote(Unknown Source)
at com.by.hw.util.NoteUtil.basciDrawOfNote(Unknown Source)
at com.by.hw.util.NoteUtil.drawTransactionForStoring(Unknown Source)
at com.by.hw.util.NoteUtil.convertNoteFileToPng(Unknown Source)
at com.by.hw.util.NoteUtil.convertNoteFileToPng(Unknown Source)
at com.boyue.app.byreader.byhw.newbyhw.control.NotePageControl$1$1.run(NotePageControl.java:480)
at com.boyue.app.byreader.byhw.newbyhw.control.secondary.ThreadControl$1.run(ThreadControl.java:38)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
my favorite
Code:
java.lang.OutOfMemoryError: OutOfMemoryError thrown while trying to throw OutOfMemoryError; no stack trace available
- Got new bug:
1) Write something (make 5 strokes or something like that)
2) Immediately tap on 3 dots
Things you just wrote would disappear. Or part of it
Sometimes words get on another words while you write. Probably related to convertion into PNG.
Clearly visible when there're other apps on background. I launched VK and Telegram, tried to write down some notes and, oh boy, i saw things...
- Erase of any selected area is slow and sometimes can take 5 seconds... sometimes it does nothing at all
- When you choose tool (erase, pen, move etc etc) button highlight is visible only in A2 mode
Totally need retest without Google Services installed. I'm getting all this with GMS