Java heap space issue

Hello Team

I am facing Java heap space issue to setup self hosted server.
I want to run data .pbf for United States of America and data size is 9.9GB.
My server config is 8 CPU and 64 GB RAM.
But still getting Java heap space issue.
I need help where I need to change memory size in opneroute config or any other place.

Hey,

have a look at the system requirements in our backend documentation. The section about jvm configuration has the info you need :slight_smile:

Best regards

Yes I checked and according to data I increase my server size. Now I am not getting java heap space issue.
Now I am getting this error:

Failed to either read or execute the ors configuration and its parameters: java.lang.RuntimeException: Couldn’t process file /home/ors/files/us-latest.osm.pbf, error: java.net.SocketTimeoutException: Connect timed out

Hey,

this seems to be related to elevation data, see this issue.

The solution is to set elevation: false in your config file :slight_smile:
Best regards

Thanks for quick response. I will try

1 Like