#TheoTown crashed when I tried to create a large map (125km²)

1 messages · Page 1 of 1 (latest)

hearty river
#

Hi, I tried to create a giant map of 105km², when I was loading the map, the game was lagging, when I gave it a name and hit next, it crashed, I don't know why, I hope someone can explain it to me.
My laptop have: i3-8130U + UHD Graphics 620 + 12GB RAM DDR4 + 894GB SSD

misty spoke
#

Ptag java

misty spoke
#

Download this

#

And refer to this for why

#

Ptag memory

lilac runeBOT
# misty spoke 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.

hearty river
#

I downloaded Java on my laptop, what should I do?