From 5f2c00b59e72f133b7e4b79cc272074ac390bc3c Mon Sep 17 00:00:00 2001 From: Laurent Mazet Date: Sun, 16 Jun 2024 23:51:43 +0200 Subject: [PATCH] reduce memory usage for dictionary building --- dict/makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dict/makefile b/dict/makefile index acdcd87..2f5f798 100644 --- a/dict/makefile +++ b/dict/makefile @@ -74,8 +74,9 @@ include $(wildcard ${OBJ_DIR}/src.mk) aspell --dict-dir="$$(realpath $<)" -d "$$DICT_NAME" dump master "$$DICT_NAME" | \ aspell --dict-dir="$$(realpath $<)" -l "$$DICT_NAME" expand | \ tr -s '[:space:]' '\n' > "$@~" && \ - LC_ALL=C sort -S28G -u -o "$@~" "$@~" && \ + LC_ALL=C sort -S2G -u -o "$@~" "$@~" && \ mv "$@~" "$@" +# LC_ALL=C sort -S28G -u -o "$@~" "$@~" && \ $(OBJ_DIR)/no.low: make $(OBJ_DIR)/nb.low -- 2.30.2