X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/f6b5565db6ed86f353c483f4f5b61a3abaa497d9..5b767a2cc8cbec9df0743d8bb959456fa24a2380:/utils/update.php diff --git a/utils/update.php b/utils/update.php index a561aaa3..9ce0f334 100755 --- a/utils/update.php +++ b/utils/update.php @@ -82,7 +82,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;