#Game Crashes when creating very large maps
1 messages · Page 1 of 1 (latest)
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.
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?
restart the PC after you install
alr
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 outPtag 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.
Does it only crash when your trying to make large regions?
yes only then, before that a few crashes happened when downloading plugins but they still worked
in this case there is only a loading screen when i go on that region
So does it crash or just take a while to load?
It crashes and i close the game, after that the region (Giant one) i tried to install is only represented as a loading screen and with the name "Stuckenborstel"
still loads
Can you get these files
i got into steam, common and theotown folder but theres only like bin, server and other folders like that
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.
already seen that but i still have no clue what i should do to fix it
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
launch argument?
i found where to put it in and now just write -Xmx4G?
yeah
Error Java virtual machine launcher "Error could not create the java virtual machine. Error: A fatal exception has occured. Programm will exist"
wut?
wrong version?
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?
Make sure you downloaded 64 bit java
i didnt?! bruh
Ptag java
Should have been this one
Yeah that wasnt the Version i downloadet xD
I just restartet pc
Lets see
IT WORKET FINALLY!
There we go! haha
Thank you so much for all the time you put into me
I will thanks really, have a great remaining day i gotta go asleep^^
Have a goodnight then!