title: java.lang.OutOfMemoryError: Physical memory usage is too high: physicalBytes (1100M) > maxPhysicalBytes (1024M)
body: <p>When I record video using FFmpegFrameRecorder it shows me this error  </p>
  
  <pre><code>   E/AndroidRuntime: FATAL EXCEPTION: Thread-36
      java.lang.OutOfMemoryError: Physical memory usage is too high: physicalBytes (1100M) &gt; maxPhysicalBytes (1024M)
      at org.bytedeco.javacpp.Pointer.deallocator(Pointer.java:588)
      at org.bytedeco.javacpp.Pointer.init(Pointer.java:124)
      at org.bytedeco.javacpp.avcodec$AVPacket.allocate(Native Method)
      at org.bytedeco.javacpp.avcodec$AVPacket.&lt;init&gt;(avcodec.java:1516)
      at java.lang.Thread.run(Thread.java:784)    
  </code></pre>
  
  <p>. Can anyone please help me to solve this Physical memory issue?</p>