diff --git a/src/qlever/commands/index.py b/src/qlever/commands/index.py index 358c4362..d350edd8 100644 --- a/src/qlever/commands/index.py +++ b/src/qlever/commands/index.py @@ -64,7 +64,7 @@ def execute(self, args) -> bool: total_file_size = get_total_file_size( shlex.split(args.input_files)) if total_file_size > 1e10: - index_cmd = f"ulimit -Sn 1048576; {index_cmd}" + index_cmd = f"ulimit -Hn 1048576 && ulimit -Sn 1048576 && {index_cmd}" # Run the command in a container (if so desired). if args.system in Containerize.supported_systems():