public static void init() {
    if (Madvise.pageSize < 0) {
      try {
        posixMadvise(ByteBuffer.allocateDirect(1), Madvice.RANDOM);
      } catch (IOException e) {
        LOGGER.info("madvise not available on this system");
      }
    }
  }
Attempts to invoke native utility and logs an error message if not available.
planetiler-core/src/main/java/com/onthegomap/planetiler/util/ByteBufferUtil.java