Y
Y
YGOLOK2021-03-14 14:55:57
Java
YGOLOK, 2021-03-14 14:55:57

java error in android application?

When the application starts, it crashes. Here is the error log

time: 1615721713532
msg: java.lang.OutOfMemoryError: Failed to allocate a 83886328 byte allocation with 25165824 free bytes and 46MB until OOM, target footprint 245232608, growth limit 268435456
stacktrace: java.lang.OutOfMemoryError: Failed to allocate a 83886328 byte allocation with 25165824 free bytes and 46MB until OOM, target footprint 245232608, growth limit 268435456
  at java.lang.StringFactory.newStringFromChars(StringFactory.java:260)
  at java.lang.StringBuilder.toString(StringBuilder.java:413)
  at com.gmail.heagoo.a.c.a.c(Unknown Source:166)
  at com.gmail.heagoo.apkeditor.ix.a(Unknown Source:83)
  at com.gmail.heagoo.apkeditor.ix.a(Unknown Source:31)
  at a.a.b.b.l.a(Unknown Source:31)
  at com.gmail.heagoo.apkeditor.ApkDecoderMine.a(Unknown Source:89)
  at com.gmail.heagoo.apkeditor.ApkDecoderMine.a(Unknown Source:661)
  at com.gmail.heagoo.apkeditor.ApkDecoderMine.a(Unknown Source:115)
  at com.gmail.heagoo.apkeditor.bg.c(Unknown Source:294)
  at com.gmail.heagoo.apkeditor.bg.run(Unknown Source:36)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Orkhan, 2021-03-14
Hasanly @azerphoenix

OutOfMemoryError: Failed to allocate a 83886328 byte allocation with 25165824 free bytes and 46MB until OOM, target footprint 245232608, growth limit 268435456

Not enough memory. Are you running the app on an emulator? It is possible that more memory is needed to run the application. Well, look at what exactly consumes the device’s memory

S
Sergey Vodakov, 2021-03-14
@WaterSmith

What does the JAVAFX tag have to do with it, if we are talking about an Android application? Or if not about Android, then why is Android mentioned in the title?
As for the answer to the question, even Google translator is able to give it, here is what it tells us:

Out of memory error: Failed to allocate 83886328 bytes with 25165824 free bytes and 46 MB to OOM, target size 245232608, growth limit 268435456

In other words, your application needed 83 megabytes of memory, while you only have 25 megabytes of free space.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question