Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OutOfMemoryError #2

Open
fquintelagit opened this issue Dec 20, 2014 · 4 comments
Open

OutOfMemoryError #2

fquintelagit opened this issue Dec 20, 2014 · 4 comments

Comments

@fquintelagit
Copy link

Few seconds after start a broadcast:

Process: io.cine.example, PID: 5207
java.lang.OutOfMemoryError
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at java.nio.MemoryBlock.allocate(MemoryBlock.java:125)
at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:72)
at io.cine.android.streaming.FFmpegMuxer.writeSampleData(FFmpegMuxer.java:149)
at io.cine.android.streaming.AndroidEncoder.drainEncoder(AndroidEncoder.java:128)
at io.cine.android.streaming.TextureMovieEncoder.handleFrameAvailable(TextureMovieEncoder.java:245)
at io.cine.android.streaming.TextureMovieEncoder.access$200(TextureMovieEncoder.java:61)
at io.cine.android.streaming.TextureMovieEncoder$EncoderHandler.handleMessage(TextureMovieEncoder.java:383)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at io.cine.android.streaming.TextureMovieEncoder.run(TextureMovieEncoder.java:215)
at java.lang.Thread.run(Thread.java:841)

@sirvon
Copy link

sirvon commented Apr 2, 2015

@levantaodedo you get any resolution with this issue, get the same when streaming for a few seconds.
possibly memory leak elsewhere in the code..

@rokon338
Copy link

yes, i have the same problem! OOM

@oleg-t
Copy link

oleg-t commented Jun 9, 2015

Having OOM issues here, as well. Very frustrating! However, it happens intermittently. From my experience it seems to be related to stability of the internet connection.
screen shot 2015-06-05 at 11 57 02 pm

@jpxiong
Copy link

jpxiong commented Jun 16, 2015

I have the same problem on Android OS 4.4.4 !

OOM

E/AndroidRuntime(16754): java.lang.OutOfMemoryError
E/AndroidRuntime(16754):    at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
E/AndroidRuntime(16754):    at java.nio.MemoryBlock.allocate(MemoryBlock.java:125)
E/AndroidRuntime(16754):    at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:72)
E/AndroidRuntime(16754):    at io.cine.android.streaming.FFmpegMuxer.writeSampleData(FFmpegMuxer.java:149)
E/AndroidRuntime(16754):    at io.cine.android.streaming.AndroidEncoder.drainEncoder(AndroidEncoder.java:128)
E/AndroidRuntime(16754):    at io.cine.android.streaming.TextureMovieEncoder.handleFrameAvailable(TextureMovieEncoder.java:245)
at io.cine.android.streaming.TextureMovieEncoder.access$200(TextureMovieEncoder.java:61)
E/AndroidRuntime(16754):    at io.cine.android.streaming.TextureMovieEncoder$EncoderHandler.handleMessage(TextureMovieEncoder.java:383)
E/AndroidRuntime(16754):    at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(16754):    at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime(16754):    at io.cine.android.streaming.TextureMovieEncoder.run(TextureMovieEncoder.java:215)
E/AndroidRuntime(16754):    at java.lang.Thread.run(Thread.java:841)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants