java.lang.OutOfMemoryError: Failed to allocate a 6031872 byte allocation with 3291936 free bytes and 3MB until OOM

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

Solutions on the web

via GitHub by guiseco
, 1 year ago
Failed to allocate a 6031872 byte allocation with 3291936 free bytes and 3MB until OOM
java.lang.OutOfMemoryError: Failed to allocate a 6031872 byte allocation with 3291936 free bytes and 3MB until OOM
at java.util.ArrayList.addAll(ArrayList.java:198)
at org.droidplanner.services.android.impl.core.mission.waypoints.StructureScannerImpl.packCircles(StructureScannerImpl.java:56)
at org.droidplanner.services.android.impl.core.mission.waypoints.StructureScannerImpl.packMissionItem(StructureScannerImpl.java:40)
at org.droidplanner.services.android.impl.core.mission.waypoints.StructureScannerImpl.getPath(StructureScannerImpl.java:89)
at org.droidplanner.services.android.impl.utils.ProxyUtils.getProxyMissionItem(ProxyUtils.java:473)
at org.droidplanner.services.android.impl.utils.CommonApiUtils.buildStructureScanner(CommonApiUtils.java:928)
at org.droidplanner.services.android.impl.utils.CommonApiUtils.buildComplexMissionItem(CommonApiUtils.java:896)
at org.droidplanner.services.android.impl.api.DroneApi.executeAction(DroneApi.java:399)
at com.o3dr.android.client.Drone.performActionOnHandler(Drone.java:466)
at com.o3dr.android.client.Drone.performActionOnDroneThread(Drone.java:459)
at com.o3dr.android.client.Drone.performAction(Drone.java:455)
at com.o3dr.android.client.apis.MissionApi.buildComplexMissionItem(MissionApi.java:235)
at com.o3dr.android.client.apis.MissionApi.buildMissionItem(MissionApi.java:253)
at com.o3dr.android.client.Drone$5.run(Drone.java:530)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)

Users with the same issue

7 times, 1 year ago
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.