bravobit / FFmpeg-Android

FFMpeg/FFprobe compiled for Android
https://bravobit.nl/
MIT License
734 stars 172 forks source link

Out of memory: Java heap space. #109

Open Stevemoretz opened 5 years ago

Stevemoretz commented 5 years ago

added this line to gradle and it happend I'm sure it's because of your library. implementation 'nl.bravobit:android-ffmpeg:1.1.7'

Out of memory: Java heap space.

Please assign more memory to Gradle in the project's gradle.properties file.
For example, the following line, in the gradle.properties file, sets the maximum Java heap size to 1,024 MB:
<em>org.gradle.jvmargs=-Xmx1024m</em>

when I remove the library the error gets gone.Well the error is saying increase the heap size to 1024MB and I did increase it to 10GB it's not still working.That's what is wired. org.gradle.jvmargs=-Xmx10000m still getting the same error.