diff --git a/biopet/biopet.wdl b/biopet/biopet.wdl
index 3c7ac7b5aa56323a75089236fefe31fad791a9d4..52720022ea59780efadca959fa305ef0d66e45a4 100644
--- a/biopet/biopet.wdl
+++ b/biopet/biopet.wdl
@@ -234,8 +234,8 @@ task ReorderGlobbedScatters {
 
     runtime {
         docker: "python:" + dockerTag
-        # 2 gigs of memory to be able to build the docker image in singularity
-        memory: 2
+        # 4 gigs of memory to be able to build the docker image in singularity
+        memory: 4
     }
 }