From 70f752ea67d7158d9036758f26c312764495c921 Mon Sep 17 00:00:00 2001 From: pavolzibrita Date: Mon, 17 Oct 2011 17:36:34 +0300 Subject: [PATCH] Update DataExtractionOSM/src/net/osmand/data/preparation/DBDialect.java --- .../src/net/osmand/data/preparation/DBDialect.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;