log graph size
This commit is contained in:
parent
c1fd02bb8d
commit
b5dcbcc051
@ -760,8 +760,13 @@ std::vector<bool> contractGraph(ContractorGraph &graph,
|
|||||||
++current_level;
|
++current_level;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
util::Log() << "Contracted graph has " << graph.GetNumberOfEdges()
|
||||||
|
<< " thus far, with an edge list of (" << (graph.GetNumberOfEdges() * sizeof(ContractorEdge)) << " bytes)";
|
||||||
|
|
||||||
|
/* comment out renumbering and observe if memory spike still happens
|
||||||
node_data.Renumber(new_to_old_node_id);
|
node_data.Renumber(new_to_old_node_id);
|
||||||
RenumberGraph(graph, new_to_old_node_id);
|
RenumberGraph(graph, new_to_old_node_id);
|
||||||
|
*/
|
||||||
|
|
||||||
return std::move(node_data.is_core);
|
return std::move(node_data.is_core);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user