Repository: ignite Updated Branches: refs/heads/master e93b28488 -> 5c363184c
Simplified Memory Policies Example Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/5c363184 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/5c363184 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/5c363184 Branch: refs/heads/master Commit: 5c363184c80f2fd8b79f1075d1eacbf9af5369a1 Parents: e93b284 Author: Denis Magda <dma...@gridgain.com> Authored: Tue Jul 11 12:20:16 2017 -0700 Committer: Denis Magda <dma...@gridgain.com> Committed: Tue Jul 11 12:20:16 2017 -0700 ---------------------------------------------------------------------- examples/config/example-memory-policies.xml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/5c363184/examples/config/example-memory-policies.xml ---------------------------------------------------------------------- diff --git a/examples/config/example-memory-policies.xml b/examples/config/example-memory-policies.xml index 48a5383..122300f 100644 --- a/examples/config/example-memory-policies.xml +++ b/examples/config/example-memory-policies.xml @@ -34,12 +34,9 @@ <property name="memoryConfiguration"> <bean class="org.apache.ignite.configuration.MemoryConfiguration"> - <!-- Setting a name of the default memory policy --> + <!-- Setting a name of the default memory policy. Required to set only if the default policy's + parameters are overridden like it's done below. --> <property name="defaultMemoryPolicyName" value="Default_Region"/> - <!-- Setting the page size to 4 KB --> - <property name="pageSize" value="4096"/> - <property name="systemCacheInitialSize" value="#{40 * 1024 * 1024}"/> - <property name="systemCacheMaxSize" value="#{40 * 1024 * 1024}"/> <!-- Defining several memory policies for different memory regions --> <property name="memoryPolicies">