#Game Crashes when creating very large maps

1 messages · Page 1 of 1 (latest)

strange trellis
#

My game keeps crashing and never loads the giant maps after i turned on experimental mode. A warning message appears "Memory Error" is written on it.

ionic shuttleBOT
# strange trellis My game keeps crashing and never loads the giant maps after i turned on experime...

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.

humble spade
#

this one?

strange trellis
# humble spade this one?

I just installed the java online thingy but it keeps crashing, should i restart pc or is it enough when i just have it installed?

zinc drift
#

restart the PC after you install

strange trellis
#

alr

strange trellis
#

hasnt worked

zinc drift
#

Ptag crash

ionic shuttleBOT
# zinc drift Ptag crash

When submitting a good crash report, please provide the details of when or under what circumstances the game crashed as well as the following files which can be found in TheoTown folder:

  • crash.txt
  • log.txt
  • out.txt
    You can find out TheoTown's directory for your system by checking out Ptag files.

Moreover, if you can trigger the game to crash with the same error in a reproducible fashion, please mention that in your report as well as that helps us get it to crash on our own machines which in turn lets use fix it easier.

zinc drift
#

Does it only crash when your trying to make large regions?

strange trellis
#

in this case there is only a loading screen when i go on that region

zinc drift
#

So does it crash or just take a while to load?

strange trellis
#

still loads

strange trellis
hybrid sandal
#

Well it runs out of memory

#

Ptag memory

ionic shuttleBOT
# hybrid sandal 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.

strange trellis
zinc drift
#

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

strange trellis
zinc drift
#

yeah

strange trellis
#

Error Java virtual machine launcher "Error could not create the java virtual machine. Error: A fatal exception has occured. Programm will exist"

#

wut?

zinc drift
strange trellis
#

wrong version?

zinc drift
#

Could be?

#

Just follow what the dev says in his messages there

strange trellis
#

java version "1.8.0_421"
Java(TM) SE Runtime Environment (build 1.8.0_421-b09)
Java HotSpot(TM) Client VM (build 25.421-b09, mixed mode, sharing)

#

thats mine

#

does that helpt?

zinc drift
#

Make sure you downloaded 64 bit java

strange trellis
zinc drift
#

Ptag java

zinc drift
#

Should have been this one

strange trellis
#

I just restartet pc

#

Lets see

strange trellis
zinc drift
#

There we go! haha

strange trellis
#

Thank you so much for all the time you put into me

zinc drift
#

Happy to hear it worked

#

Enjoy the game!

strange trellis
zinc drift
#

Have a goodnight then!