Endpoints not working

OK, the first line tells you that you have run out of heap space, so you need to increase the amount of heap available to java / the container. The rule of thumb is normally the amount of ram needed to build is double the size of the pbf file for each profile. The bit you need to modify is the -Xms and -Xmx in the
-e "JAVA_OPTS=-Djava.awt.headless=true -server -XX:TargetSurvivorRatio=75 -XX:SurvivorRatio=64 -XX:MaxTenuringThreshold=3 -XX:+UseG1GC -XX:+ScavengeBeforeFullGC -XX:ParallelGCThreads=4 -Xms1g -Xmx2g"
that is passed when you start the docker container. Obviously also make sure that the system you are running it on has enough RAM

1 Like