#Steam Version of Theotown failing to create the biggest region map?

1 messages · Page 1 of 1 (latest)

tranquil pier
#

This is an issue in the Steam version of the game
Even Bigger 40sqmi
The grid layout is 2x2 (The only thing allowed)
Shape is selected as circle (The only thing allowed)

The game crashes with a error dialogue box popping up.
Attached the error dialogue box.

What is going wrong here?

dense lotus
#

Ptag memory

hot zodiacBOT
# dense lotus 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.

dense lotus
#

Ptag java

dense lotus
#

Download the 64 bit version

tranquil pier
#

thank you!

dense lotus
#

Happy to help!

tranquil pier
#

looks like either my computer is low on RAM or I need to allow theotown to use more RAM ?

dense lotus
tranquil pier
#

I do not know how to do that

#

I am not a luddite, but my computer skills are not inclined enough for me to execute stuff said in that message

dense lotus
#

That is done within steam so nothing super crazy

tranquil pier
#

So, I just type -Xmx4G in the launch options?

dense lotus
#

Yes

tranquil pier
#

alright, something else has gone wrong it seems

#

I am now getting the error could not create Java Virtual machine

#

it says game will exit

#

I am getting that error when I use -Xmx4G

dense lotus
#

Interesting

#

Try reinstalling java

#

And make sure to restart your PC after

#

That shouldn't happen

tranquil pier
#

damn, the restart thing worked!!!

#

Thanks to @dense lotus and to @hot zodiac !!

dense lotus
#

Wonderful! Happy to help