From 8cef60ba87932620f18d7765bb5fe1ba8befddf4 Mon Sep 17 00:00:00 2001 From: junos Date: Fri, 14 Apr 2023 15:59:44 +0200 Subject: [PATCH] Limit memory usage by readable_datetime. Especially important for accelerometer data. --- rules/preprocessing.smk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules/preprocessing.smk b/rules/preprocessing.smk index bf641c68..61a1d6ba 100644 --- a/rules/preprocessing.smk +++ b/rules/preprocessing.smk @@ -247,6 +247,8 @@ rule empatica_readable_datetime: include_past_periodic_segments = config["TIME_SEGMENTS"]["INCLUDE_PAST_PERIODIC_SEGMENTS"] output: "data/raw/{pid}/empatica_{sensor}_with_datetime.csv" + resources: + mem_mb=100000 script: "../src/data/datetime/readable_datetime.R"