Skip to content

Commit e3f8399

Browse files
committed
Revert "force-cube with memory limits"
This reverts commit 3161152.
1 parent 3161152 commit e3f8399

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

bash/force-cube.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -386,13 +386,10 @@ for i in "$@"; do
386386
debug "Y_TILE_RANGE = $TYMIN $TYMAX"
387387

388388

389-
# check free RAM
390-
MEMORY=$(LANG="C"; free --mega | awk '/^Mem/ { printf("%.0fM\n", $2 * 0.05) }')
391-
392389
# cube the file, spawn multiple jobs for each tile
393390
export WKT ORIGX ORIGY TILESIZE CHUNKSIZE RES
394391
export FINP DOUT COUT INODATA ONODATA RESAMPLE RASTER DATATYPE ATTRIBUTE
395-
$PARALLEL_EXE -j $NJOB --memsuspend "$MEMORY" cubethis {1} {2} ::: $(seq $TXMIN $TXMAX) ::: $(seq $TYMIN $TYMAX)
392+
$PARALLEL_EXE -j $NJOB cubethis {1} {2} ::: $(seq $TXMIN $TXMAX) ::: $(seq $TYMIN $TYMAX)
396393

397394
# remove the temporary file
398395
rm "$FTMP"

misc/force-version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.7.12-dev:::2024-05-21_08:25:19
1+
3.7.12-dev:::2024-05-17_16:02:57

0 commit comments

Comments
 (0)