Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Carlos caduguedess

🏠
Working from home
View GitHub Profile
View ruby-build.20200524123620.32223.log
/tmp/ruby-build.20200524123620.32223.ovIf9B ~
Cloning into 'ruby-2.5.0-dev'...
/tmp/ruby-build.20200524123620.32223.ovIf9B/ruby-2.5.0-dev /tmp/ruby-build.20200524123620.32223.ovIf9B ~
checking for ruby... /home/carlos/.asdf/shims/ruby
downloading config.guess ... done
downloading config.sub ... done
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for gcc... gcc
View ors.log
2020-05-19 05:38:58,386 ERROR [routing.RoutingProfileManager] - java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: GC overhead limit exceeded
2020-05-19 05:38:58,388 ERROR [routing.RoutingProfileManager] - Failed to initialize RoutingProfileManager instance.
java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_252]
at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_252]
at org.heigit.ors.routing.RoutingProfileManager.initialize(RoutingProfileManager.java:162) ~[classes/:6.1.0]
at org.heigit.ors.routing.RoutingProfileManager.getInstance(RoutingProfileManager.java:57) ~[classes/:6.1.0]
at org.heigit.ors.servlet.listeners.ORSInitContextListener.lambda$contextInitialized$0(ORSInitContextListener.java:40) ~[classes/:6.1.0]
View Dockerfile
FROM openjdk:8-jdk
ENV MAVEN_OPTS="-Dmaven.repo.local=.m2/repository -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true"
ENV MAVEN_CLI_OPTS="--batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true"
ARG APP_CONFIG=./docker/conf/app.config.sample
ARG OSM_FILE=./docker/data/brazil-latest.osm.pbf
WORKDIR /ors-core
View docker-compose.yml
version: '3'
services:
ors-app:
container_name: ors-app
ports:
- 8080:8080
image: openrouteservice/openrouteservice:v6.1.0
build:
context: ../
args:
View ors log
2020-05-19 00:15:01,625 INFO [ors.Application] - Starting Application v6.1.0 on 5d05cbf0e45a with PID 8 (/usr/local/tomcat/webapps/ors/WEB-INF/classes started by root in /ors-core)
2020-05-19 00:15:01,632 DEBUG [ors.Application] - Running with Spring Boot v2.0.4.RELEASE, Spring v5.0.8.RELEASE
2020-05-19 00:15:01,634 INFO [ors.Application] - No active profile set, falling back to default profiles: default
2020-05-19 00:15:06,322 INFO [ors.Application] - Started Application in 6.142 seconds (JVM running for 12.824)
2020-05-19 00:15:06,355 INFO [routing.RoutingProfileManager] - Total - 10.00 GB, Free - 9.78 GB, Max: 10.00 GB, Used - 223.80 MB
2020-05-19 00:15:06,355 INFO [routing.RoutingProfileManager] -
2020-05-19 00:15:06,386 INFO [routing.RoutingProfileManager] - ====> Initializing profiles from 'data/osm_file.pbf' (2 threads) ...
2020-05-19 00:15:06,386 INFO [routing.RoutingProfileManager] -
2020-05-19 00:15:06,393 INFO [routing.RoutingProfileManager] -
View Gruntfile.js
module.exports = function(grunt) {
require("time-grunt")(grunt);
require("load-grunt-tasks")(grunt, {
pattern: ["grunt-*", "!grunt-cli*"]
});
var modRewrite = require("connect-modrewrite");
var serveStatic = require("serve-static");
grunt.initConfig({
copy: {
all: {
View docker-compose.yml
version: '3'
services:
ors-app:
container_name: ors-app
ports:
- 8080:8080
build:
context: ../
args:
APP_CONFIG: ./docker/conf/app.config.sample
View ors.log
2020-05-06 15:34:51,302 ERROR [routing.RoutingProfileManager] - java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.carrotsearch.hppc.BufferAllocationException: Not enough memory to allocate new buffers: 3,771,757 -> 5,657,635
2020-05-06 15:34:51,304 ERROR [routing.RoutingProfileManager] - Failed to initialize RoutingProfileManager instance.
java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.carrotsearch.hppc.BufferAllocationException: Not enough memory to allocate new buffers: 3,771,757 -> 5,657,635
at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_252]
at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_252]
at org.heigit.ors.routing.RoutingProfileManager.initialize(RoutingProfileManager.java:162) ~[classes/:6.1.0]
at org.heigit.ors.routing.RoutingProfileManager.getInstance(RoutingProfileManager.java:57) ~[classes/:6.1.0]
at org.heigit.ors
View ors.log
2020-05-05 03:44:34,961 ERROR [routing.RoutingProfileManager] - java.util.concurrent.ExecutionException: java.lang.RuntimeException: Couldn't process file data/osm_file.pbf, error: Can't decode srtm_28_17.tif
2020-05-05 03:44:34,969 ERROR [routing.RoutingProfileManager] - Failed to initialize RoutingProfileManager instance.
java.util.concurrent.ExecutionException: java.lang.RuntimeException: Couldn't process file data/osm_file.pbf, error: Can't decode srtm_28_17.tif
at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_252]
at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_252]
at org.heigit.ors.routing.RoutingProfileManager.initialize(RoutingProfileManager.java:162) ~[classes/:6.1.0]
at org.heigit.ors.routing.RoutingProfileManager.getInstance(RoutingProfileManager.java:57) ~[classes/:6.1.0]
at org.heigit.ors.servlet.listeners.ORSInitContextListener.lambda$contextInitialized$0(ORSInitContextListener.java:40) ~[classes/:6.1.0]
at java.lang.Thread.run(Thread.java:748
View gist:601442967206f47910b748045f06ee4a
# The server protocol and host
server_protocol: "http"
server_url: "openstreetmap.example.com"
# Publisher
#publisher_url: ""
# The generator
generator: "OpenStreetMap server"
copyright_owner: "OpenStreetMap and contributors"
attribution_url: "http://www.openstreetmap.org/copyright"
license_url: "http://opendatacommons.org/licenses/odbl/1-0/"
You can’t perform that action at this time.