From a10fd7a309c909c1081353be3cbecdd7686c269f Mon Sep 17 00:00:00 2001 From: nobohan Date: Tue, 2 Apr 2024 21:25:09 +0200 Subject: [PATCH] set work_mem to 250MB in postgres (in run.sh) --- run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/run.sh b/run.sh index 9406d79..94c4ff3 100755 --- a/run.sh +++ b/run.sh @@ -68,6 +68,7 @@ if [ "$1" == "import" ]; then sudo -u postgres psql -d gis -c "CREATE EXTENSION hstore;" sudo -u postgres psql -d gis -c "ALTER TABLE geometry_columns OWNER TO renderer;" sudo -u postgres psql -d gis -c "ALTER TABLE spatial_ref_sys OWNER TO renderer;" + sudo -u postgres psql -d gis -c "SET work_mem TO '250MB';" setPostgresPassword # Download Luxembourg as sample if no data is provided