X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/1d248ac86db873873bc06896573e3dd81113ff5f..cd37227a3c08c2078037278c6e2ad9c4dd550df8:/utils/update.php diff --git a/utils/update.php b/utils/update.php index c5fc14a6..13790450 100755 --- a/utils/update.php +++ b/utils/update.php @@ -83,7 +83,7 @@ $iCacheMemory = getCacheMemoryMB(); echo "WARNING: resetting cache memory to $iCacheMemory\n"; } - $sOsm2pgsqlCmd = CONST_Osm2pgsql_Binary.' -klas -C '.$iCacheMemory.' -O gazetteer -d '.$aDSNInfo['database'].' -P '.$aDSNInfo['port']; + $sOsm2pgsqlCmd = CONST_Osm2pgsql_Binary.' -klas --number-processes 1 -C '.$iCacheMemory.' -O gazetteer -d '.$aDSNInfo['database'].' -P '.$aDSNInfo['port']; if (!is_null(CONST_Osm2pgsql_Flatnode_File)) { $sOsm2pgsqlCmd .= ' --flat-nodes '.CONST_Osm2pgsql_Flatnode_File;