The document reports an OutOfMemoryError in an Android application. It occurred while trying to allocate a 2064 byte array with only 821520 free bytes remaining. The error is thrown because less than 1% of the heap was free after garbage collection. The error originated from the creation of a TrainPathfinding object.
The document reports an OutOfMemoryError in an Android application. It occurred while trying to allocate a 2064 byte array with only 821520 free bytes remaining. The error is thrown because less than 1% of the heap was free after garbage collection. The error originated from the creation of a TrainPathfinding object.
The document reports an OutOfMemoryError in an Android application. It occurred while trying to allocate a 2064 byte array with only 821520 free bytes remaining. The error is thrown because less than 1% of the heap was free after garbage collection. The error originated from the creation of a TrainPathfinding object.
java.lang.OutOfMemoryError: Failed to allocate a 2064 byte allocation with 821520
free bytes and 802KB until OOM, target footprint 536870912, growth limit 536870912; giving up on allocation because <1% of heap free after GC.
java.lang.OutOfMemoryError: Failed to allocate a 2064 byte allocation with 821520
free bytes and 802KB until OOM, target footprint 536870912, growth limit 536870912; giving up on allocation because <1% of heap free after GC. at java.lang.reflect.Array.createMultiArray(Native Method) at java.lang.reflect.Array.newInstance(Array.java:125) at info.flowersoft.theotown.city.TrainPathfinding.<init>(TrainPathfinding.java:47) at info.flowersoft.theotown.components.traffic.TrainTrafficHandler.<init>(TrainTraffic Handler.java:72) at info.flowersoft.theotown.components.DefaultTraffic.prepareHandler(DefaultTraffic.ja va:127) at info.flowersoft.theotown.components.DefaultTraffic.bind(DefaultTraffic.java:137) at info.flowersoft.theotown.city.City.applyComponent(City.java:465) at info.flowersoft.theotown.creation.CityCreator.resetCity(CityCreator.java:830) at info.flowersoft.theotown.stages.RegionStage.lambda$createCity$31(RegionStage.java:1 469) at info.flowersoft.theotown.stages.RegionStage.$r8$lambda$5_qghqFhqg7-3QB- ATIx-73pqPg(Unknown Source:0) at info.flowersoft.theotown.stages.RegionStage$ $ExternalSyntheticLambda10.set(Unknown Source:8) at info.flowersoft.theotown.stages.RegionStage$37.run(RegionStage.java:1612)