[GraphHopper] Out of memory at graph creation

Nicolas Gillet nicolas.gillet at market-ip.com
Tue Jul 2 09:07:02 UTC 2013


Hello,

I'm facing an OutOfMemoryError (heap space) when creating a bigger graph.
Actually, I am creating a graph out of our own data source including speed profile definitions on the Belgian territory.
Creating a simple graph works fine but when it comes to create the speed profiles, my process quickly runs out of memory.
To store these speed profiles, I have created 7 more DataAccess, one for each day of week and each edge has one speed profile stored in there.
I'd like to know if there could be a way to flush the DataAccess on a regular basis to release memory.

When I see that you managed to create a worldwide graph, I guess there might be such mechanism but I couldn't find it.

Thank you

Nicolas GILLET


Market-IP - Creating Mobile Intelligence
Phone : +32 81 33 11 11
Fax : +32 81 33 11 10
www.market-ip.com<http://www.market-ip.com/> - www.telefleet.com<http://www.telefleet.com/> - www.geoplanning.net<http://www.geoplanning.net/> - www.drivexpert.net<http://www.drivexpert.net/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20130702/97d27431/attachment.html>


More information about the GraphHopper mailing list