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 in mp4parser library #14

Open
naXa777 opened this issue Aug 29, 2018 · 0 comments
Open

OutOfMemoryError in mp4parser library #14

naXa777 opened this issue Aug 29, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@naXa777
Copy link
Owner

naXa777 commented Aug 29, 2018

FATAL EXCEPTION: ControllerMessenger
Process: by.naxa.soundrecorder, PID: 16441
java.lang.OutOfMemoryError: Failed to allocate a 1500793432 byte allocation with 3623741 free bytes and 85MB until OOM
	at java.nio.ByteBuffer.allocate(ByteBuffer.java:56)
	at com.googlecode.mp4parser.AbstractBox.parse(AbstractBox.java:110)
	at com.coremedia.iso.AbstractBoxParser.parseBox(AbstractBoxParser.java:107)
	at com.googlecode.mp4parser.BasicContainer.next(BasicContainer.java:185)
	at com.googlecode.mp4parser.BasicContainer.hasNext(BasicContainer.java:161)
	at com.googlecode.mp4parser.util.LazyList.blowup(LazyList.java:30)
	at com.googlecode.mp4parser.util.LazyList.size(LazyList.java:77)
	at com.googlecode.mp4parser.BasicContainer.getBoxes(BasicContainer.java:80)
	at com.googlecode.mp4parser.authoring.samples.DefaultMp4SampleList.<init>(DefaultMp4SampleList.java:36)
	at com.coremedia.iso.boxes.mdat.SampleList.<init>(SampleList.java:33)
	at com.googlecode.mp4parser.authoring.Mp4TrackImpl.<init>(Mp4TrackImpl.java:64)
	at com.googlecode.mp4parser.authoring.container.mp4.MovieCreator.build(MovieCreator.java:57)
	at com.googlecode.mp4parser.authoring.container.mp4.MovieCreator.build(MovieCreator.java:38)
	at by.naxa.soundrecorder.services.RecordingService.makeSingleFile(RecordingService.java:219)
	at by.naxa.soundrecorder.services.RecordingService.stopRecording(RecordingService.java:195)
	at by.naxa.soundrecorder.services.RecordingService.onDestroy(RecordingService.java:85)
	at android.app.ActivityThread.handleStopService(ActivityThread.java:3973)
	at android.app.ActivityThread.access$2400(ActivityThread.java:218)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1837)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at androidx.test.espresso.base.Interrogator.a(Interrogator.java:19)
	at androidx.test.espresso.base.UiControllerImpl.a(UiControllerImpl.java:142)
	at androidx.test.espresso.base.UiControllerImpl.a(UiControllerImpl.java:134)
	at androidx.test.espresso.base.UiControllerImpl.a(UiControllerImpl.java:34)
	at androidx.test.espresso.action.MotionEvents.a(MotionEvents.java:74)
	at androidx.test.espresso.action.MotionEvents.a(MotionEvents.java:52)
	at androidx.test.espresso.action.Tap.c(Tap.java:9)
	at androidx.test.espresso.action.Tap.a(Tap.java:19)
	at androidx.test.espresso.action.Tap$1.b(Tap.java:2)
	at androidx.test.espresso.action.GeneralClickAction.perform(GeneralClickAction.java:22)
	at androidx.test.espresso.ViewInteraction$SingleExecutionViewAction.perform(ViewInteraction.java:9)
	at androidx.test.espresso.ViewInteraction.a(ViewInteraction.java:78)
	at androidx.test.espresso.ViewInteraction.a(ViewInteraction.java:94)
	at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:3)
	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
	at android.os.Handler.handleCallback(Handler.java:739)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:145)
	at android.app.ActivityThread.main(ActivityThread.java:6934)
	at java.lang.reflect.Method.invoke(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:372)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)

Company: Samsung
Device model: Galaxy J1 Ace
RAM: 1024 MB
OS: Android 5.1

Issue #139 - OutOfMemoryError when building Movie

@naXa777 naXa777 added the bug Something isn't working label Aug 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant