Java Problem! GC overhead limit exceeded

Here we talk about TheoTown in general.
User avatar
SebastianGC06
Settler
Reactions:
Posts: 2
Joined: 21 Aug 2021, 03:08

Java Problem! GC overhead limit exceeded

#1

Post by SebastianGC06 »

Hi!

I have a problem because Theothown it's crashed.

When I create a region (the biggest possible), this is blurred on the start map, as if there were two overlapping images. When creating a city, the game closes or works and restarts.

I can't add trees either because the game crashes.

Attached the crash file information:

, v: 0 (Desktop)
1.10.06p (11006), p:true

java.lang.OutOfMemoryError: GC overhead limit exceeded

java.lang.OutOfMemoryError: GC overhead limit exceeded
at info.flowersoft.theotown.map.City.<init>(City.java:224)
at info.flowersoft.theotown.creation.CityCreator.create(CityCreator.java:205)
at info.flowersoft.theotown.util.CityGenerator.generate(CityGenerator.java:207)
at info.flowersoft.theotown.stages.CreateCityStageExt$13.get(CreateCityStageExt.java:324)
at info.flowersoft.theotown.stages.CreateCityStageExt$13.get(CreateCityStageExt.java:321)
at info.flowersoft.theotown.ui.MapPreview$6.run(MapPreview.java:241)


PLEASEEEE HELP MEEEE. I LOVE THIS GAME

User avatar
CommanderABab
AB
Reactions:
Posts: 11107
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Java Problem! GC overhead limit exceeded

#2

Post by CommanderABab »

While the game is loading the collecting drafts, loading drafts, loading textures, etc; and especially before the city completes loading, try pressing the back icon on Android, maybe the escape key on PC to interrupt the loading of the last map played.

Then go to settings in the menu and turn these things to false (unchecked):

Code: Select all

  "auto save": false,  //optional, but keeps this from happening.  :)
  "auto loading": false,  //keeps the game from loading the last map played on startup

User avatar
CommanderABab
AB
Reactions:
Posts: 11107
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Java Problem! GC overhead limit exceeded

#3

Post by CommanderABab »

If the created region is blurred or transparent, that is a good sign that it won't be very enjoyable to play in the long run due to such memory problems. :)

User avatar
SebastianGC06
Settler
Reactions:
Posts: 2
Joined: 21 Aug 2021, 03:08

Re: Java Problem! GC overhead limit exceeded

#4

Post by SebastianGC06 »

The issue is that I had already played Theotown on this same PC with no problems, I just sent it to format and install an SSD.

Post Reply Previous topicNext topic

Return to “Game Discussion”