Skip to content

Commit

Permalink
Unpersist edges of previous graph in Pregel
Browse files Browse the repository at this point in the history
  • Loading branch information
ankurdave committed Jun 5, 2014
1 parent abea2d4 commit 13d5b07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions graphx/src/main/scala/org/apache/spark/graphx/Pregel.scala
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ object Pregel extends Logging {
oldMessages.unpersist(blocking=false)
newVerts.unpersist(blocking=false)
prevG.unpersistVertices(blocking=false)
prevG.edges.unpersist(blocking=false)
// count the iteration
i += 1
}
Expand Down

0 comments on commit 13d5b07

Please sign in to comment.