WowzaMediaSystems / gocoder-sdk-samples-android

A sample app for Android that demonstrates the capabilities of the Wowza GoCoderâ„¢ SDK.
https://www.wowza.com/products/gocoder/sdk
Other
53 stars 51 forks source link

Problem with WZCameraView, getting java.lang.OutOfMemoryError #24

Open deepbhavsar opened 5 years ago

deepbhavsar commented 5 years ago

Hello, I am using WZCameraView for broadcast After streaming for a certain period of time the app will automatically crash with below error

E/EventThread: Task threw exception java.lang.OutOfMemoryError: Failed to allocate a 16 byte allocation with 2968 free bytes and 2968B until OOM at io.socket.engineio.client.Transport.onPacket(Transport.java:134) at io.socket.engineio.client.Transport.onData(Transport.java:126) at io.socket.engineio.client.transports.WebSocket.access$100(WebSocket.java:24) at io.socket.engineio.client.transports.WebSocket$2$2.run(WebSocket.java:99) at io.socket.thread.EventThread$2.run(EventThread.java:80) 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)

Please help wowza team. I am stuck with this issue.