Skip to content

Commit 87b5497

Browse files
memory estimation tests
Co-Authored-By: Florentin Dörre <florentin.dorre@neotechnology.com>
1 parent 7e16f59 commit 87b5497

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

algo/src/main/java/org/neo4j/gds/beta/undirected/ToUndirectedFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ public MemoryEstimation memoryEstimation(ToUndirectedConfig configuration) {
6464
var builder = MemoryEstimations.builder(ToUndirected.class)
6565
.add("relationships", CompressedAdjacencyList.adjacencyListEstimation(relationshipType, true));
6666

67-
builder.perGraphDimension("properties", ((graphDimensions, integer) -> {
67+
builder.perGraphDimension("properties", ((graphDimensions, concurrency) -> {
6868
long max = graphDimensions.relationshipPropertyTokens().keySet().stream().mapToLong(__ ->
6969
UncompressedAdjacencyList
7070
.adjacencyPropertiesEstimation(relationshipType, true)
71-
.estimate(graphDimensions, integer)
71+
.estimate(graphDimensions, concurrency)
7272
.memoryUsage().max
7373
).sum();
7474
return MemoryRange.of(0, max);

0 commit comments

Comments
 (0)