diff --git a/biopet/biopet.wdl b/biopet/biopet.wdl
index 86ca3800c693701d7e3e0d3f11f05af8cd8046a3..20ada8108243f23c01e9292d484ce4b5564cec73 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
     }
 }