Repository: ignite Updated Branches: refs/heads/ignite-2.2 d51171f11 -> 1fb2fe04f
IGNITE-6182: Improved message. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/1fb2fe04 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/1fb2fe04 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/1fb2fe04 Branch: refs/heads/ignite-2.2 Commit: 1fb2fe04fd5e08bac16e79f572893f2fa7a3ad38 Parents: d51171f Author: devozerov <[email protected]> Authored: Mon Sep 4 17:41:30 2017 +0300 Committer: devozerov <[email protected]> Committed: Mon Sep 4 17:43:08 2017 +0300 ---------------------------------------------------------------------- .../main/java/org/apache/ignite/internal/IgniteKernal.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/1fb2fe04/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java b/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java index 27c23a8..4257f00 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java @@ -1404,9 +1404,10 @@ public class IgniteKernal implements IgniteEx, IgniteMXBean, Externalizable { long safeToUse = ram - Math.max(4L << 30, (long)(ram * 0.2)); if (total > safeToUse) { - U.quietAndWarn(log, "Attempting to start more nodes than physical RAM available on the host " + - "what can lead to significant slowdown (please decrease JVM heap size, memory policy size or " + - "checkpoint buffer size) [required=" + (total >> 20) + "MB, available=" + (ram >> 20) + "MB]"); + U.quietAndWarn(log, "Nodes started on local machine require more than 80% of physical RAM what can " + + "lead to significant slowdown due to swapping (please decrease JVM heap size, memory policy " + + "size or checkpoint buffer size) [required=" + (total >> 20) + "MB, available=" + + (ram >> 20) + "MB]"); } } }
