From 8836b09b307e005d3c7521a44fe28975dd8fb01f Mon Sep 17 00:00:00 2001 From: Ali Khan Date: Mon, 2 Sep 2024 15:56:26 -0400 Subject: [PATCH] Tune garbage collection params --- workflow/rules/common.smk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/rules/common.smk b/workflow/rules/common.smk index e6b7ad0..430696d 100644 --- a/workflow/rules/common.smk +++ b/workflow/rules/common.smk @@ -260,7 +260,7 @@ def get_stains(wildcards): # bigstitcher def get_fiji_launcher_cmd(wildcards, output, threads, resources): launcher_opts_find = "-Xincgc" - launcher_opts_replace = f"-XX:+UseG1GC -verbose:gc -XX:+PrintGCDateStamps -XX:ActiveProcessorCount={threads}" + launcher_opts_replace = f"-XX:+UseG1GC -verbose:gc -XX:+PrintGCDateStamps -XX:ActiveProcessorCount={threads} -XX:ParallelGCThreads={threads/2} -XX:ConcGCThreads={threads/4}" pipe_cmds = [] pipe_cmds.append("ImageJ-linux64 --dry-run --headless --console") pipe_cmds.append(f"sed 's/{launcher_opts_find}/{launcher_opts_replace}'/")