[GraphHopper] Running out of heap space when starting webapp with large .osm.pbf
Nate Atkinson
nate at gaia-movement.org
Fri Oct 10 14:00:41 UTC 2014
Hi,
I'm using the amd64 repository for Debian, so I assumed it would be a 64
bit java binary. Then I remembered that, at least with roll-out for 64
bit on SPARC, Debian ran a sort of hybrid system with 64 bit kernel and
32 bit userland. I wonder if it's the same on amd64.
In any case, I've downloaded and installed the 64 bit binary from
Oracle. Now I just need to redownload the north-america.osm.pbf (oops)
and give it a try again.
Best regards,
Nate Atkinson
On 10/10/2014 08:24 AM, Emux wrote:
>> If I watch memory usage in 'top', it looks like java is consistently
>> crashing at around 2.1 GB of memory use, despite using the command line
>> flag "-Xmx7g" which I'm told should allow up to 7 GB heap size.
>
> Try using 64bit Java in order to see so much memory.
>
> --
> Emux
> Cruiser <http://wiki.openstreetmap.org/wiki/Cruiser> - Atlas
> <http://wiki.openstreetmap.org/wiki/Atlas_%28navigation_application%29>
>
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper
>
More information about the GraphHopper
mailing list