diff --git a/workflow/main.nf b/workflow/main.nf
index acd7d531a8a23dec4c1cf67b0e2a4caedbe9314c..f5cdf7551d5551df8a29570c2c949ca85b7b7a6e 100755
--- a/workflow/main.nf
+++ b/workflow/main.nf
@@ -242,6 +242,7 @@ process count302 {
     if (forceCells302 == 0) {
       """
       hostname
+      ulimit -u 16384
       ulimit -a
       bash ${baseDir}/scripts/filename_check.sh -r ${ref}
       cellranger count --id=${sample} --transcriptome=./${ref} --fastqs=. --sample=${sample} --expect-cells=${expectCells302} --chemistry=${chemistryParam302}
@@ -251,6 +252,7 @@ process count302 {
     else {
       """
       hostname
+      ulimit -u 16384
       ulimit -a
       bash ${baseDir}/scripts/filename_check.sh -r ${ref}
       cellranger count --id=${sample} --transcriptome=./${ref} --fastqs=. --sample=${sample} --force-cells=${forceCells302} --chemistry=${chemistryParam302}
@@ -295,6 +297,7 @@ process count310 {
     else {
       """
       hostname
+      ulimit -u 16384
       ulimit -a
       bash ${baseDir}/scripts/filename_check.sh -r ${ref}
       cellranger count --id=${sample} --transcriptome=./${ref} --fastqs=. --sample=${sample} --force-cells=${forceCells310} --chemistry=${chemistryParam310}