Skip to content

Commit

Permalink
reduce heap space
Browse files Browse the repository at this point in the history
  • Loading branch information
nh13 committed Feb 21, 2022
1 parent a78eec8 commit 544b256
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ class GroupReadsByUmi

Iterator.continually(if (iterator.hasNext) takeNextGroup(iterator) else Seq.empty)
.takeWhile(_.nonEmpty)
.grouped(100000)
.grouped(25000)
.foreach { group =>
group
.parWith(pool)
Expand Down

0 comments on commit 544b256

Please sign in to comment.