diff --git a/bcftools.wdl b/bcftools.wdl
index 589cddeadfa22b6c6f852f674caa6a265f5b8f12..2bf1c7323dad2b7c45ba1b91380e4f2396d80730 100644
--- a/bcftools.wdl
+++ b/bcftools.wdl
@@ -186,7 +186,7 @@ task Sort {
         String outputPath = "output.vcf.gz"
         String tmpDir = "./sorting-tmp"
 
-        String memory = "256M"
+        String memory = "5G"
         Int timeMinutes = 1 + ceil(size(inputFile, "G")) * 5
         String dockerImage = "quay.io/biocontainers/bcftools:1.10.2--h4f4756c_2"
     }