java.lang.OutOfMemoryError

java.lang.Object[] of length 2131427328 would overflow

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web77

  • via GitHub by thepoofy
    ,
  • Stack trace

    • java.lang.OutOfMemoryError: java.lang.Object[] of length 2131427328 would overflow at java.util.ArrayList.<init>(ArrayList.java:75) at com.example.speechtotext.Main.onCreate(ReversePictionary.java:43) at android.app.Activity.performCreate(Activity.java:6237) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    chenjunjunchenjunjun
    Once,
    TahirTahir
    2 times, last one