Closed yevh-berdnyk closed 6 years ago
@yevh-berdnyk how do we know the problem was that it ran out of memory? Was there a message somewhere saying this? I tried to find it in the log but didn't see anything conclusive.
@PombeirP looks like the log was cut or I lost a part. Here is an error:
06-05 12:15:34.029 1362 4448 E AudioFlinger: createRecordTrack_l() initCheck failed -12; no control block? 06-05 12:15:34.029 2287 15043 E AudioRecord: AudioFlinger could not create record track, status: -12 06-05 12:15:34.031 2287 15043 E AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -12. 06-05 12:15:34.031 2287 15043 E android.media.AudioRecord: Error code -20 when initializing native AudioRecord object. 06-05 12:15:34.031 2287 15043 I MicrophoneInputStream: mic_started com.google.android.apps.gsa.staticplugins.z.c@f370d56 06-05 12:15:34.031 2287 15043 E ActivityThread: Failed to find provider info for com.google.android.apps.gsa.testing.ui.audio.recorded 06-05 12:15:34.031 2287 2287 I MicroDetectionWorker: onReady 06-05 12:15:34.042 2287 15043 I MicrophoneInputStream: mic_close com.google.android.apps.gsa.staticplugins.z.c@f370d56 06-05 12:15:34.043 2287 15348 I MicroRecognitionRunner: Detection finished 06-05 12:15:34.043 2287 15348 W ErrorReporter: reportError [type: 211, code: 524300]: Error reading from input stream 06-05 12:15:34.043 2287 2553 I MicroRecognitionRunner: Stopping hotword detection. 06-05 12:15:34.044 2287 15348 W ErrorProcessor: onFatalError, processing error from engine(4) 06-05 12:15:34.044 2287 15348 W ErrorProcessor: com.google.android.apps.gsa.shared.speech.a.g: Error reading from input stream 06-05 12:15:34.044 2287 15348 W ErrorProcessor: at com.google.android.apps.gsa.staticplugins.recognizer.i.a.a(SourceFile:342) 06-05 12:15:34.044 2287 15348 W ErrorProcessor: at com.google.android.apps.gsa.staticplugins.recognizer.i.a$1.run(SourceFile:1367) 06-05 12:15:34.044 2287 15348 W ErrorProcessor: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428) 06-05 12:15:34.044 2287 15348 W ErrorProcessor: at java.util.concurrent.FutureTask.run(FutureTask.java:237) 06-05 12:15:34.044 2287 15348 W ErrorProcessor: at com.google.android.apps.gsa.shared.util.concurrent.a.ak.run(SourceFile:66) 06-05 12:15:34.044 2287 15348 W ErrorProcessor: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) 06-05 12:15:34.044 2287 15348 W ErrorProcessor: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) 06-05 12:15:34.044 2287 15348 W ErrorProcessor: at java.lang.Thread.run(Thread.java:761) 06-05 12:15:34.044 2287 15348 W ErrorProcessor: at com.google.android.apps.gsa.shared.util.concurrent.a.ad$1.run(SourceFile:85) 06-05 12:15:34.044 2287 15348 W ErrorProcessor: Caused by: com.google.android.apps.gsa.shared.exception.GsaIOException: Error code: 393238 | Buffer overflow, no available space. 06-05 12:15:34.044 2287 15348 W ErrorProcessor: at com.google.android.apps.gsa.speech.audio.Tee.g(SourceFile:2531) 06-05 12:15:34.044 2287 15348 W ErrorProcessor: at com.google.android.apps.gsa.speech.audio.ap.read(SourceFile:555) 06-05 12:15:34.044 2287 15348 W ErrorProcessor: at java.io.InputStream.read(InputStream.java:101) 06-05 12:15:34.044 2287 15348 W ErrorProcessor: at com.google.android.apps.gsa.speech.audio.al.run(SourceFile:362) 06-05 12:15:34.044 2287 15348 W ErrorProcessor: at com.google.android.apps.gsa.speech.audio.ak$1.run(SourceFile:471) 06-05 12:15:34.044 2287 15348 W ErrorProcessor: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428) 06-05 12:15:34.044 2287 15348 W ErrorProcessor: at java.util.concurrent.FutureTask.run(FutureTask.java:237) 06-05 12:15:34.044 2287 15348 W ErrorProcessor: at com.google.android.apps.gsa.shared.util.concurrent.a.ak.run(SourceFile:66) 06-05 12:15:34.044 2287 15348 W ErrorProcessor: at com.google.android.apps.gsa.shared.util.concurrent.a.ax.run(SourceFile:139) 06-05 12:15:34.044 2287 15348 W ErrorProcessor: at com.google.android.apps.gsa.shared.util.concurrent.a.ax.run(SourceFile:139) 06-05 12:15:34.044 2287 15348 W ErrorProcessor: ... 4 more 06-05 12:15:34.044 2287 15348 I AudioController: internalShutdown 06-05 12:15:34.045 2287 2287 I MicroDetector: Keeping mic open: false 06-05 12:15:34.045 2287 2287 I MicroDetectionWorker: #onError(false) 06-05 12:15:34.045 2287 15347 I DeviceStateChecker: DeviceStateChecker cancelled 06-05 12:15:34.072 2134 15346 I c2dm : [3,,1,1] 06-05 12:15:34.074 2134 15346 I gtalk_heartbeat_reset: [65646,74.125.142.188:5228] 06-05 12:15:34.074 2134 15346 E WakeLock: release without a matched acquire! 06-05 12:15:34.075 2134 15346 I gtalk_connection: 0 06-05 12:15:34.076 2134 15346 I c2dm : [7,,1,1]
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed. Please re-open if this issue is important to you.
User Story
As a user, I want to send and receive big amount of messages
Description
Type: Bug
Summary: App used all the memory after sending and receiving big quantity of messages on Android emulator with 2GB memory
Expected behavior
App continues working
Actual behavior
App has stopped, memory limit exceeded
Reproduction
Additional Information
Logs
https://pastebin.com/4x4T4d2b