From e1c4c19ac23f00226960ab95339fc04383f5b483 Mon Sep 17 00:00:00 2001 From: Marc Stevens Date: Mon, 24 Jun 2024 15:25:37 +0200 Subject: [PATCH] Update textcoll.sh --- scripts/textcoll.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/textcoll.sh b/scripts/textcoll.sh index ac855d0..b396020 100755 --- a/scripts/textcoll.sh +++ b/scripts/textcoll.sh @@ -38,6 +38,9 @@ fi # TEXTCOLL Stage 1: preparation to find solutions over Q7-Q24 +# REDUCING MEMORY USAGE: If textcoll crashes due to out of memory then you can reduce memory usage by decreasing the exponent of the maxLUT constant: +# `static const size_t maxLUT = 1ULL<<29;` in src/md5textcoll/block1.cpp + if [ ! -f Q7Q24.bin.gz ]; then ( $TEXTCOLL $MDIFF $FIRSTBLOCKBYTES --prepare --pathfile textcoll_path.bin.gz --alphabet $ALPHABET --prefixfile ${prefixfile} | tee prepare.log ) || exit 1 echo "Solutions stored in Q7Q24.bin.gz."