#Cannot load old save.

1 messages · Page 1 of 1 (latest)

pseudo bloom
#

so a long time ago I've got a new pc (and also copied all my theotown maps to here) and after a while I wanted to load my old saves (like over 1 year old), but when I tried to load them, the game just freezes, and crashs after a while. (I also used a lot of plugins but am pretty sure I copied all of them).

can anyone help me with that?

fast flare
#

Ptag crash

desert sierraBOT
# fast flare Ptag crash

When submitting a good crash report, please provide the details of when it crashed as well as log.txt and crash.txt files as found in your TheoTown directory on the filesystem. You can find out TheoTown's directory for your system by checking out Ptag files.

pseudo bloom
#

Ptag files

desert sierraBOT
# pseudo bloom Ptag files

TheoTown files are located under such directories:

  • Windows: C:\Users\(insert username)\TheoTown or %USERPROFILE%\TheoTown
  • Linux: ~/TheoTown
  • MacOS: /user/TheoTown
  • Android: /storage/emulated/0/Android/data/info.flowersoft.theotown.theotown/files
    By default you should be in /storage/emulated/0/. Uninstalling the game on Android will delete all files, unless you decide to keep the files when prompted by uninstaller.

If you cannot access game files through these directories, game has an in-built file manager for mobile devices which is accessible from the region view menu.

You can find your plugin, music, region and city files there as well as logs for debugging purposes.

pseudo bloom
#

okay, sure.

pseudo bloom
fast flare
#

Does it happen randomly or does a specific action cause the game to freeze? I've noticed you're running 1.11.03. I'm pretty sure there's a newer version that can be downloaded. After updating, I'd see if that helps. There's nothing that would suggest why the game crashes. Is there an out.txt file in the TheoTown directory as well? If so, please send it. Moreover, what version of Java are you running? It's recommended that you use 64-bit Java 8.

pseudo bloom
#

I'm using the steam version of the game, should I reinstall it then?

#

I am using java version 8, I assume it's 64 bit but I'm not sure, since I'm not seeing any info about that on the "about java"

pseudo bloom
fast flare
#

Ah, now that's more helpful

#

There's a lot of entries mentioning java.lang.OutOfMemoryError: Java heap space

This indicates that the game ran out of memory (RAM)

#

I assume that's why it crashes

pseudo bloom
#

hm, I have 32 Gigabytes of RAM, I doubt if that's the reason...

fast flare
#

Could you run the following command in command line?
java --version It should output the java version information

pseudo bloom
#

what do you mean by command line? how can I find that?

fast flare
#

win + r

#

and type cmd

pseudo bloom
#

ok, sure

#

Unrecognized option: --version
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

fast flare
#

Ah, sorry

#

My mistake

#

It should be java -version

pseudo bloom
#

oh, ok, no problem

#

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

fast flare
#

Hm, usually it would indicate what architecture it's installed for (32/64-bit).

At least the issue is now narrowed down to java its heap allocation, rather than the game itself.

Now before I recommend you to try to reinstall Java or the like. Are you familiar with how to set custom launch arguments for applications on Steam?

Appending the following argument will tell Java to use 6 gigabytes of memory at most:
-Xmx6g (note how there is no space)

pseudo bloom
fast flare
#

I don't remember from the top of my head how it's exactly called, but sounds right

pseudo bloom
#

ok, I'll try that

#

I get this when I run it with that command

fast flare
#

That suggests to me that the Java installed is indeed 32-bit

#

32*

pseudo bloom
#

oh, so I should reinstall it, right?

fast flare
#

Correct, make sure to install 64-bit version instead

#

Ptag java down

pseudo bloom
#

ok, I'll let you know when I'm done with that 👍

#

okay, so I just downloaded the 64-bit java and the problem fixed. thank you so much for your help!