#this happened when i loaded into my city

1 messages · Page 1 of 1 (latest)

gleaming shuttle
#

first the game froze then it crashed

brisk cedar
#

Ptag out of mem

earnest sluiceBOT
# brisk cedar Ptag out of mem

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.

gleaming shuttle
vital sedge
#

Ptag java

vital sedge
#

64 bit

naive cape
#

Java 8, at the very least

keen geode
#

-Xmx4G Where should I add it?

vital sedge
#

@keen geode furthermore in the future please use your own topic