Skip to content

Commit

Permalink
IGNITE-9080 Activate | Deactivate Cluster is killed by Linux OOM kill…
Browse files Browse the repository at this point in the history
…er - Fixes apache#4430.

Signed-off-by: Dmitriy Pavlov <dpavlov@apache.org>
(cherry picked from commit f13d2ed)
  • Loading branch information
EdShangGG authored and Sergey Kosarev committed Sep 21, 2018
1 parent b66cce0 commit 24d6be4
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,12 @@ protected CacheConfiguration[] allCacheConfigurations() {
return super.getConfiguration(name)
.setDiscoverySpi(
new TcpDiscoverySpi()
.setIpFinder(ipFinder)
);
.setIpFinder(ipFinder))
.setDataStorageConfiguration(
new DataStorageConfiguration()
.setDefaultDataRegionConfiguration(
new DataRegionConfiguration()
.setMaxSize(100 * 1024 * 1024)));
}

/** {@inheritDoc} */
Expand Down

0 comments on commit 24d6be4

Please sign in to comment.