ReadShards now default to 10K (up from 1K) reads per samFile up to 250K

-- This should help make the inputs for parallel read walkers a little meater, and avoid spinning the shard creation infrastructure so often
This commit is contained in:
Mark DePristo 2012-08-30 10:39:16 -04:00
parent 5a142fe265
commit 5a9610d875
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ public class SAMDataSource {
else {
// Choose a sensible default for the read buffer size. For the moment, we're picking 1000 reads per BAM per shard (which effectively
// will mean per-thread once ReadWalkers are parallelized) with a max cap of 250K reads in memory at once.
ReadShard.setReadBufferSize(Math.min(1000*samFiles.size(),250000));
ReadShard.setReadBufferSize(Math.min(10000*samFiles.size(),250000));
}
resourcePool = new SAMResourcePool(Integer.MAX_VALUE);