From dafd2d379d35765538c9c7382e4fa2fcceba0676 Mon Sep 17 00:00:00 2001 From: "Maxim.Mossienko" Date: Wed, 30 Apr 2014 19:27:24 +0200 Subject: [PATCH] revert memory page size back --- platform/util/src/com/intellij/util/io/IntToIntBtree.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/util/src/com/intellij/util/io/IntToIntBtree.java b/platform/util/src/com/intellij/util/io/IntToIntBtree.java index f074d3642064..78ed0fe7f44a 100644 --- a/platform/util/src/com/intellij/util/io/IntToIntBtree.java +++ b/platform/util/src/com/intellij/util/io/IntToIntBtree.java @@ -73,7 +73,7 @@ class IntToIntBtree { FileUtil.delete(file); } - storage = new ResizeableMappedFile(file, pageSize, storageLockContext, pageSize, true, IOUtil.ourByteBuffersUseNativeByteOrder); + storage = new ResizeableMappedFile(file, pageSize, storageLockContext, 1024 * 1024, true, IOUtil.ourByteBuffersUseNativeByteOrder); root = new BtreeIndexNodeView(this); if (initial) {