Removed STXXL support.

This commit is contained in:
Denis Chaplygin
2020-06-17 13:16:21 +03:00
parent 699ca2bbd0
commit 2d0b2ca987
16 changed files with 5 additions and 201 deletions
-3
View File
@@ -189,21 +189,18 @@ int main(int argc, char *argv[]) try
osrm::contract(contractor_config);
util::DumpSTXXLStats();
util::DumpMemoryStats();
return EXIT_SUCCESS;
}
catch (const osrm::RuntimeError &e)
{
util::DumpSTXXLStats();
util::DumpMemoryStats();
util::Log(logERROR) << e.what();
return e.GetCode();
}
catch (const std::bad_alloc &e)
{
util::DumpSTXXLStats();
util::DumpMemoryStats();
util::Log(logERROR) << e.what();
util::Log(logERROR) << "Please provide more memory or consider using a larger swapfile";
-4
View File
@@ -186,28 +186,24 @@ int main(int argc, char *argv[]) try
osrm::extract(extractor_config);
util::DumpSTXXLStats();
util::DumpMemoryStats();
return EXIT_SUCCESS;
}
catch (const osrm::RuntimeError &e)
{
util::DumpSTXXLStats();
util::DumpMemoryStats();
util::Log(logERROR) << e.what();
return e.GetCode();
}
catch (const std::system_error &e)
{
util::DumpSTXXLStats();
util::DumpMemoryStats();
util::Log(logERROR) << e.what();
return e.code().value();
}
catch (const std::bad_alloc &e)
{
util::DumpSTXXLStats();
util::DumpMemoryStats();
util::Log(logERROR) << "[exception] " << e.what();
util::Log(logERROR) << "Please provide more memory or consider using a larger swapfile";