#define defaultGRPMAXSize 1 //(in gigabytes) Default maximum size of srp structure but of course this size depends of the number of reads we are processing.
// 1 GB is enough to store approx 82 millions of reads (must take into account memory needed for stl containers).
// This constant is used only if you use rock's default behavior (use 90% of the machine's RAM).
...
...
@@ -145,7 +144,7 @@ int main(int argc,char * argv[]) {
parms.lambda=0;
parms.filter_size=getNodePhysMemory()/100*90-defaultGRPMAXSize;// Prefer not to use all the machine's memory