Android demo setup not working

Hi,

I’m trying to use for first time Graphhopper (In android) so I found a demo in the Github repo, but when i try to run the command ‘./graphhopper.sh import your-area.pbf’ the following appears in console and I cannot complete the setup for the demo:

$ ./graphhopper.sh import your-area.pbf
## using java  from C:\Program Files\Java\jdk1.8.0_131
File not found 'your-area.pbf'. Press ENTER to get it from: http://download.geofabrik.de/your-area-latest.osm.pbf
Press CTRL+C if you do not have enough disc space or you don't want to download several MB.

[Pressed Enter]

## now downloading OSM file from http://download.geofabrik.de/your-area-latest.osm.pbf and extracting to your-area.pbf
./graphhopper.sh: line 62: wget: command not found
ERROR couldn't download or extract OSM file your-area.pbf ... exiting

Any workaround is appreciated.

Also, is there another tutorial to get started?

Thanks in advance

your-area.pbf is an example name. If you want to build a graph for a specific area, you can download its .pbf from Geofabrik and use it in this command line.

Thanks! I downloaded it and the setup started. Unfortunately, the program is running out of memory:

Exception in thread "pool-6-thread-1" java.lang.OutOfMemoryError: GC overhead limit exceeded

I only found how to use -Xmx to increase maximum memory but only in eclipse apps, not as a Windows default arg to JVM. Any suggestions?