diff --git a/DataExtractionOSM/src/net/osmand/data/preparation/DBDialect.java b/DataExtractionOSM/src/net/osmand/data/preparation/DBDialect.java index 458e56cf9b..8c1e847c0e 100644 --- a/DataExtractionOSM/src/net/osmand/data/preparation/DBDialect.java +++ b/DataExtractionOSM/src/net/osmand/data/preparation/DBDialect.java @@ -102,7 +102,7 @@ public enum DBDialect { //we are exclusive, some speed increase ( no need to get and release logs statement.executeQuery("PRAGMA locking_mode = EXCLUSIVE"); //increased cache_size, by default it is 2000 and we have quite huge files... - statement.executeUpdate("PRAGMA cache_size = 10000"); + //statement.executeUpdate("PRAGMA cache_size = 10000"); cache size could be probably contraproductive on slower disks? statement.close(); System.out.println(String.format("SQLITE running in %s mode", SQLiteJDBCLoader.isNativeMode() ? "native" : "pure-java")); return connection;