You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by pt...@apache.org on 2017/07/12 11:51:26 UTC

ignite git commit: .NET: Set explicit CheckpointingPageBufferSize to work around OOM in tests

Repository: ignite
Updated Branches:
  refs/heads/ignite-5479 f3ec031d7 -> 0576047f0


.NET: Set explicit CheckpointingPageBufferSize to work around OOM in tests


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/0576047f
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/0576047f
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/0576047f

Branch: refs/heads/ignite-5479
Commit: 0576047f08ebbe5cf50113671d8d501fcf395e77
Parents: f3ec031
Author: Pavel Tupitsyn <pt...@apache.org>
Authored: Wed Jul 12 14:50:59 2017 +0300
Committer: Pavel Tupitsyn <pt...@apache.org>
Committed: Wed Jul 12 14:50:59 2017 +0300

----------------------------------------------------------------------
 .../Apache.Ignite.Core.Tests/Cache/PersistentStoreTest.cs    | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/0576047f/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/PersistentStoreTest.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/PersistentStoreTest.cs b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/PersistentStoreTest.cs
index 3320dd7..d321639 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/PersistentStoreTest.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/PersistentStoreTest.cs
@@ -59,7 +59,8 @@ namespace Apache.Ignite.Core.Tests.Cache
                     PersistentStorePath = Path.Combine(_tempDir, "Store"),
                     WalStorePath = Path.Combine(_tempDir, "WalStore"),
                     WalArchivePath = Path.Combine(_tempDir, "WalArchive"),
-                    MetricsEnabled = true
+                    MetricsEnabled = true,
+                    CheckpointingPageBufferSize = 1024 * 1024  // TODO: Use default (IGNITE-5717)
                 }
             };
 
@@ -116,7 +117,10 @@ namespace Apache.Ignite.Core.Tests.Cache
         {
             var cfg = new IgniteConfiguration(GetTestConfiguration())
             {
-                PersistentStoreConfiguration = new PersistentStoreConfiguration()
+                PersistentStoreConfiguration = new PersistentStoreConfiguration
+                {
+                    CheckpointingPageBufferSize = 1024 * 1024  // TODO: Use default (IGNITE-5717)
+                }
             };
 
             using (var ignite = Ignition.Start(cfg))