#Out of Memory

1 messages · Page 1 of 1 (latest)

sinful summit
#

I keep getting Out of the memory error I tried everything but I have to install and uninstall everything for it to start working. Is there a way to fix it without uninstalling stuff?

sinful summit
#

After creating a map it appears when it's getting loaded

bold pewter
#

Ptag memory

lunar obsidianBOT
# bold pewter 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.

sinful summit
#

I'm on the phone and I don't have any other apps on

#

And it's till happening

bold pewter
#

So then in short there is nothing else you can do

sinful summit
#

Why don't devs make the option to edit it in settings or smth

bold pewter
#

Becuase that isn't how it works?

#

On phones there is a hard cap based on your device lol

#

You can always delete maps and plugins that you don't use via the files

sinful summit
#

I have no plugins and only basic worlds

#

Still doesn't work

bold pewter
#

What size region are you trying to generate?

slender heron
#

Maybe the error isn't in TheoTown but in your phone?