Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    Try adding these lines to your manifest: android:hardwareAccelerated="false" and android:largeHeap="true" as it seems to work for some cases. See also this article about handling bitmaps on android's documentation:

  2. ,
    Expert tip

    This was issue #159 in Fresco, and was fixed recently, in v1.3.0.

java.lang.OutOfMemoryError: 	at Method)	at	at	at	at com.commonsware.cwac.cam2.ImageContext.rotateViaMatrix(	at com.commonsware.cwac.cam2.ImageContext.getJpeg(	at com.commonsware.cwac.cam2.JPEGWriter.process(	at com.commonsware.cwac.cam2.PictureTransaction.process(	at com.commonsware.cwac.cam2.ClassicCameraEngine$TakePictureTransaction$	at java.util.concurrent.ThreadPoolExecutor.runWorker(	at java.util.concurrent.ThreadPoolExecutor$	at