평소에는 정상적으로 작동하다가.. 어플을 오래 켜두거나 하면 앱이 종료됩니다.
반복적으로는 발생하지는 않습니다.
메모리 이슈로 보이는대요. 실제 앱은 OutOfMemory가 나는 상황도 아니고..
단순히 안드로이드 자체에서 메모리가 부족하여 해당 앱을 종료 시키는지 알고 싶습니다.
아래는 adb log 내용 입니다.
06-25 15:45:51.829 1630 2145 V audio_hw_primary: out_set_parameters: routing=2
06-25 15:45:51.829 1630 2145 V audio_hw_primary: out_set_parameters, line: 2435
06-25 15:45:51.829 1630 2145 V audio_hw_primary: >>>>>>>> adev->mode:0,adev->out_device is: 2, val is : 2
06-25 15:45:51.842 1630 2145 V audio_hw_primary: start_output_stream, line: 1939
06-25 15:45:51.842 1630 2145 V audio_hw_primary: start_output_stream, line: 1981
06-25 15:45:51.842 1630 2145 D audio_hw_primary: >>>>>> select_device
06-25 15:45:51.844 1630 2145 V audio_hw_primary: active_output, ****LINE:1750,FUNC:select_device, adev->out_device:2
06-25 15:45:51.844 1630 2145 V audio_hw_primary: ****LINE:1762,FUNC:select_device, headset_on:0, headphone_on:0, speaker_on:2, earpiece_on:0, bt_on:0
06-25 15:45:51.844 1630 2145 V audio_hw_primary: ****LINE:1789,FUNC:select_device, output_device_id:6
06-25 15:45:51.844 1630 2145 V audio_hw_primary: NORMAL mode, ****LINE:1796,FUNC:select_device, adev->out_device:2
06-25 15:45:51.845 1630 2145 V audio_hw_primary: use AUDIO_CODEC to playback audio
06-25 15:45:51.846 1630 2145 V audio_hw_primary: do not use out resampler
06-25 15:45:51.864 1611 2556 I [Gralloc]: ion_alloc from ion_client:19 via heap type DMA(mask:16) for 725760 Bytes cached buffer successfully, usage = 0x00000333
06-25 15:45:51.890 3130 3130 I art : Starting a blocking GC Explicit
06-25 15:45:51.928 3130 3130 I art : Explicit concurrent mark sweep GC freed 42962(1902KB) AllocSpace objects, 0(0B) LOS objects, 39% free, 6MB/10MB, paused 227us total 33.745ms
06-25 15:45:51.931 3130 3130 I art : System.exit called, status: 0
06-25 15:45:51.931 3130 3130 I AndroidRuntime: VM exiting with result code 0, cleanup skipped.
06-25 15:45:51.984 1630 2145 D AudioFlinger: mixer(0xf23c0000) throttle end: throttle time(33)
06-25 15:45:52.000 2106 2175 W InputDispatcher: channel 'c5a5a66 com.example/com.example.InfoActivity_new (server)' ~ Consumer closed input channel or an error occurred. events=0x9
06-25 15:45:52.000 2106 2175 E InputDispatcher: channel 'c5a5a66 com.example/com.example.InfoActivity_new (server)' ~ Channel is unrecoverably broken and will be disposed!
06-25 15:45:52.000 2106 2175 W InputDispatcher: channel '351eda5 com.example/com.example.InfoActivity_new (server)' ~ Consumer closed input channel or an error occurred. events=0x9
06-25 15:45:52.000 2106 2175 E InputDispatcher: channel '351eda5 com.example/com.example.InfoActivity_new (server)' ~ Channel is unrecoverably broken and will be disposed!
06-25 15:45:52.004 2106 2685 I WindowState: WIN DEATH: Window{351eda5 u0 com.example/com.example.InfoActivity_new}
06-25 15:45:52.004 2106 2685 W InputDispatcher: Attempted to unregister already unregistered input channel '351eda5 com.example/com.example.InfoActivity_new (server)'
06-25 15:45:52.005 2106 2686 I ActivityManager: Process com.example (pid 3130) has died