IGNITE-7824: Wrong warning message fixed. - Fixes #3788. Signed-off-by: Nikolay Izhikov <nizhi...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/706e7f81 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/706e7f81 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/706e7f81 Branch: refs/heads/ignite-6083 Commit: 706e7f81b44ca9b3a01ffd673e5db61578123b64 Parents: df6356d Author: NSAmelchev <nsamelc...@gmail.com> Authored: Thu Apr 12 13:21:15 2018 +0300 Committer: Nikolay Izhikov <nizhi...@apache.org> Committed: Thu Apr 12 13:21:15 2018 +0300 ---------------------------------------------------------------------- .../src/main/java/org/apache/ignite/internal/IgniteKernal.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/706e7f81/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 1cb07b9..795601e 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 @@ -1439,7 +1439,7 @@ public class IgniteKernal implements IgniteEx, IgniteMXBean, Externalizable { long safeToUse = ram - Math.max(4L << 30, (long)(ram * 0.2)); if (total > safeToUse) { - U.quietAndWarn(log, "Nodes started on local machine require more than 20% of physical RAM what can " + + 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, data region " + "size or checkpoint buffer size) [required=" + (total >> 20) + "MB, available=" + (ram >> 20) + "MB]");