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

Huge memory leak crashing the application. #24

Open
cadesalaberry opened this issue Jun 29, 2015 · 1 comment
Open

Huge memory leak crashing the application. #24

cadesalaberry opened this issue Jun 29, 2015 · 1 comment

Comments

@cadesalaberry
Copy link

On both the Nexus 4 (4.4.3) and the Samsung S4 (4.4.2) (cf. Screenshots), the broadcast crashes randomly after using too much memory. The SDK is completely unstable, and it is really hard to develop anything durable having the application crash sporadically...

@growlsworth could you have a look at it ?

The Nexus 4 crashes around 2m46s so I added a second screenshot.

screenshot from 2015-06-27 17 30 00 cut

screenshot from 2015-06-29 14 00 14 cut

screenshot from 2015-06-29 14 02 33 cut

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:151)
    at io.cine.android.streaming.AndroidEncoder.drainEncoder(AndroidEncoder.java:128)
    at io.cine.android.streaming.TextureMovieEncoder.handleFrameAvailable(TextureMovieEncoder.java:264)
    at io.cine.android.streaming.TextureMovieEncoder$EncoderHandler.handleMessage(TextureMovieEncoder.java:409)
    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:219)
    at java.lang.Thread.run(Thread.java:841)

@cadesalaberry
Copy link
Author

Related to #2.

@cadesalaberry cadesalaberry changed the title Huge Memory leak crashing the application. Huge memory leak crashing the application. Jun 29, 2015
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

1 participant