GC overhead limit exceeded


#1

Hi!

I’m trying to install a local, Docker version, with one downloaded map, but I get the error in subject.
I read a related post in this forum so:

  • Tried with a very small map (Monaco), downloaded from https://download.geofabrik.de/ .
  • updated the script docker-compose.yml, adding to the JAVA_ENVS -Xms8g -Xmx8g.
  • selected only one profile as active, vehicles-car.

I also entered manually a script in /etc/profile.d/, specifying the same Java variables.

After all this changes, I deleted the graphs folder and restarted the container. It starts ok, but at the first query I see the same error.

Any other suggestion?

Thank you :slight_smile:


#2

I expect it is that the machine you are running it on doesnt have enough RAM. How much does it have? In general, especially when running docker, you shouldn’t give too much over to the heap as other java processes (such as the Garbage Collection) need off heap memory to function.