Skip to content
Snippets Groups Projects
Commit d9b05b58 authored by Ruben Vorderman's avatar Ruben Vorderman
Browse files

2GB per thread is sufficient

parent 46ea0ef3
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ task Mem { ...@@ -30,7 +30,7 @@ task Mem {
Int threads = 4 Int threads = 4
Int sortThreads = 1 Int sortThreads = 1
Int sortMemoryPerThreadGb = 4 Int sortMemoryPerThreadGb = 2
Int compressionLevel = 1 Int compressionLevel = 1
# BWA needs slightly more memory than the size of the index files (~10%). Add a margin for safety here. # BWA needs slightly more memory than the size of the index files (~10%). Add a margin for safety here.
Int memoryGb = 1 + ceil(size(bwaIndex.indexFiles, "G") * 1.2) + sortMemoryPerThreadGb * sortThreads Int memoryGb = 1 + ceil(size(bwaIndex.indexFiles, "G") * 1.2) + sortMemoryPerThreadGb * sortThreads
...@@ -95,7 +95,7 @@ task Kit { ...@@ -95,7 +95,7 @@ task Kit {
Int threads = 4 Int threads = 4
Int sortThreads = 1 Int sortThreads = 1
Int sortMemoryPerThreadGb = 4 Int sortMemoryPerThreadGb = 2
Int compressionLevel = 1 Int compressionLevel = 1
# BWA needs slightly more memory than the size of the index files (~10%). Add a margin for safety here. # BWA needs slightly more memory than the size of the index files (~10%). Add a margin for safety here.
Int memoryGb = 1 + ceil(size(bwaIndex.indexFiles, "G") * 1.2) + sortMemoryPerThreadGb * sortThreads Int memoryGb = 1 + ceil(size(bwaIndex.indexFiles, "G") * 1.2) + sortMemoryPerThreadGb * sortThreads
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment