Skip to content

Commit 13d5b07

Browse files
committed
Unpersist edges of previous graph in Pregel
1 parent abea2d4 commit 13d5b07

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

graphx/src/main/scala/org/apache/spark/graphx/Pregel.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ object Pregel extends Logging {
150150
oldMessages.unpersist(blocking=false)
151151
newVerts.unpersist(blocking=false)
152152
prevG.unpersistVertices(blocking=false)
153+
prevG.edges.unpersist(blocking=false)
153154
// count the iteration
154155
i += 1
155156
}

0 commit comments

Comments
 (0)