Dennis,

How are you doing this?

https://github.com/Project-OSRM/osrm-backend/blob/v4.5.0/extractor/extraction_containers.hpp#L50

All sources I can find say that stxxl doesn't support non-POD datatypes:

http://sourceforge.net/p/stxxl/discussion/446474/thread/7b904a22/
http://sourceforge.net/p/stxxl/discussion/446474/thread/b528b08e/

When I try and do something similar 
(stxxl::map<unsigned,std::string,CmpUnsignedLess>), I get garbage out and 
double-free crashes on destruction. I would love to know what magic you are 
using to get this to work.

Or are you just usually doing the extraction on systems with such huge amounts 
of memory it never actually has to spill to disk?


robert.

_______________________________________________
OSRM-talk mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/osrm-talk

Reply via email to