#Bug When I tried to take a picture of my map

1 messages · Page 1 of 1 (latest)

rugged turtle
#

TheoTown Hello,
I encountered a critical crash caused by a memory allocation failure, even though my device has sufficient physical RAM (8 GB).
Error details:

java.lang.OutOfMemoryError: Failed to allocate a 268,435,472 byte allocation
with 25,165,824 free bytes and 241 MB until OOM,
target footprint 308,838,784,
growth limit 536,870,912
From the log, it appears the application is hitting its heap growth limit (~512 MB) rather than the device’s physical RAM limit. The crash happens when the game attempts to allocate an additional ~256 MB block, likely for textures or assets.
This suggests a possible issue with memory management, such as:
Large texture allocations
Assets not being properly unloaded
Memory fragmentation or a memory leak
Steps already attempted:
Restarted the device
Closed background applications
Lowered in-game graphics settings
The issue persists consistently.
Please let me know if you need additional logs or reproduction steps. I hope this information helps in identifying the memory handling issue.
Thank you.

#

Total 55 plugins

lofty halo
#

Ptag memory

tranquil havenBOT
# lofty halo Ptag memory

If you encounter java.lang.OutOfMemoryError: Java heap space error, that means that the game ran out of memory (ram) while processing your request or action.

If you're on mobile, there's not much you can do to alleviate this issue, closing other applications in the background might help. For PC, you can simply increase the maximum heap space as a launch argument. For example -Xmx4G will let the game use up to 4 gigabytes of memory. That is, of course if you have enough memory. Generally, it's not a good idea to allocate more than 50% of your entire system memory. If that doesn't work and you're on PC, please check if you have 64 bit Java installed, because if you don't, game can only use 2 gigabytes of memory.

rugged turtle
sage solar
lofty halo
#

I would assume null pointer is because of "try again"

rugged turtle
#

This has happened 5 times already