Open door43app opened 8 years ago
@neutrinog - This low memory crash is on a neotab using latest develop branch. App does not detect the crash.
Crash dump:
09-16 01:09:00.568 15986-16044/com.translationstudio.androidapp D/dalvikvm: GC_FOR_ALLOC freed 543K, 27% free 7946K/10756K, paused 47ms, total 47ms 09-16 01:09:00.568 15986-16044/com.translationstudio.androidapp I/dalvikvm-heap: Grow heap (frag case) to 43.671MB for 37620956-byte allocation 09-16 01:09:00.638 15986-15995/com.translationstudio.androidapp D/dalvikvm: GC_FOR_ALLOC freed 10K, 6% free 44675K/47496K, paused 53ms, total 55ms 09-16 01:09:00.698 15986-16044/com.translationstudio.androidapp D/dalvikvm: GC_FOR_ALLOC freed <1K, 6% free 44675K/47496K, paused 47ms, total 57ms 09-16 01:09:00.698 15986-16044/com.translationstudio.androidapp I/dalvikvm-heap: Forcing collection of SoftReferences for 37620956-byte allocation 09-16 01:09:00.768 15986-16044/com.translationstudio.androidapp D/dalvikvm: GC_BEFORE_OOM freed 135K, 7% free 44540K/47496K, paused 76ms, total 78ms 09-16 01:09:00.778 15986-16044/com.translationstudio.androidapp E/dalvikvm-heap: Out of memory on a 37620956-byte allocation. 09-16 01:09:00.778 15986-16044/com.translationstudio.androidapp I/dalvikvm: "pool-1-thread-1" prio=5 tid=11 RUNNABLE 09-16 01:09:00.778 15986-16044/com.translationstudio.androidapp I/dalvikvm: | group="main" sCount=0 dsCount=0 obj=0x41e0df60 self=0x59286248 09-16 01:09:00.778 15986-16044/com.translationstudio.androidapp I/dalvikvm: | sysTid=16044 nice=10 sched=0/0 cgrp=apps/bg_non_interactive handle=1495819936 09-16 01:09:00.778 15986-16044/com.translationstudio.androidapp I/dalvikvm: | state=R schedstat=( 0 0 0 ) utm=2449 stm=361 core=0 09-16 01:09:00.788 15986-16044/com.translationstudio.androidapp I/dalvikvm: at java.nio.channels.Channels$InputStreamChannel.read(Channels.java:~302) 09-16 01:09:00.798 15986-16044/com.translationstudio.androidapp I/dalvikvm: at java.nio.FileChannelImpl.transferFrom(FileChannelImpl.java:396) 09-16 01:09:00.798 15986-16044/com.translationstudio.androidapp I/dalvikvm: at com.door43.translationstudio.core.Downloader.requestToFile(Downloader.java:83) 09-16 01:09:00.798 15986-16044/com.translationstudio.androidapp I/dalvikvm: at com.door43.translationstudio.core.Downloader.downloadImages(Downloader.java:290) 09-16 01:09:00.798 15986-16044/com.translationstudio.androidapp I/dalvikvm: at com.door43.translationstudio.core.Library.downloadImages(Library.java:391) 09-16 01:09:00.798 15986-16044/com.translationstudio.androidapp I/dalvikvm: at com.door43.translationstudio.tasks.DownloadImagesTask.start(DownloadImagesTask.java:25) 09-16 01:09:00.798 15986-16044/com.translationstudio.androidapp I/dalvikvm: at org.unfoldingword.tools.taskmanager.ManagedTask.run(ManagedTask.java:78) 09-16 01:09:00.798 15986-16044/com.translationstudio.androidapp I/dalvikvm: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 09-16 01:09:00.798 15986-16044/com.translationstudio.androidapp I/dalvikvm: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 09-16 01:09:00.798 15986-16044/com.translationstudio.androidapp I/dalvikvm: at java.lang.Thread.run(Thread.java:841) 09-16 01:09:00.808 15986-16044/com.translationstudio.androidapp W/dalvikvm: threadid=11: thread exiting with uncaught exception (group=0x4193f560) 09-16 01:09:00.838 15986-16044/com.translationstudio.androidapp E/AndroidRuntime: FATAL EXCEPTION: pool-1-thread-1 Process: com.translationstudio.androidapp, PID: 15986 java.lang.OutOfMemoryError at java.nio.channels.Channels$InputStreamChannel.read(Channels.java:302) at java.nio.FileChannelImpl.transferFrom(FileChannelImpl.java:396) at com.door43.translationstudio.core.Downloader.requestToFile(Downloader.java:83) at com.door43.translationstudio.core.Downloader.downloadImages(Downloader.java:290) at com.door43.translationstudio.core.Library.downloadImages(Library.java:391) at com.door43.translationstudio.tasks.DownloadImagesTask.start(DownloadImagesTask.java:25) at org.unfoldingword.tools.taskmanager.ManagedTask.run(ManagedTask.java:78) 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)
Don't see a crash in emulator. Set the memory down to 450MB. The neuTab has 512MB and it crashes on every download.
Notes
out of memory crash while downloading images for print.
Environment
Log history