I am running an android app on my device using processing. But I get this error: 

```
      FATAL EXCEPTION: Animation Thread
      java.lang.OutOfMemoryError

      at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
      at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:592)
      at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:691)
      at processing.core.PApplet.loadImage(Unknown Source)
          at processing.test.djtubedesktop.DJTubeDesktop.loadImages(DJTubeDesktop.java:972)
      at processing.test.djtubedesktop.DJTubeDesktop.setup(DJTubeDesktop.java:62)
      at processing.core.PApplet.handleDraw(Unknown Source)
      at processing.core.PGraphicsAndroid2D.requestDraw(Unknown Source)
      at processing.core.PApplet.run(Unknown Source)
      at java.lang.Thread.run(Thread.java:856)

```

I have tried this:
1) Going to File -> preferences, and select "then Increase maximun available memory to" 10240 MB
2) Reducing the number of frames.
 I have this 2 code lines: 

```
       images = loadImages("Animation_data/movie", ".jpg", 134);
       recordPlayer = loadImages("black-record_", ".png", 36);

```

I have replaced 134 and 36 for 50 and 10, and by doing this I dont get the error, but it still does not work 

The programs runs perfectly on java

I need to run it on my android device