[ 
https://issues.apache.org/jira/browse/IGNITE-6182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16147014#comment-16147014
 ] 

Vladimir Ozerov edited comment on IGNITE-6182 at 8/30/17 10:13 AM:
-------------------------------------------------------------------

[~gvvinblade],
Looks overly complex to me. Thinking of it a little bit more, I would do the 
following:
1) Exclude JVM heap. We never had such check before, even when we were on-heap 
solution, and never had any problems with it. Moreover, we do not know how much 
heap will be used by user application.
2) Share only total maximum of all memory regions + checkpoint buffer size. If 
it exceeds 80% of machine's ram - print a warning. 


was (Author: vozerov):
[~gvvinblade],
Looks overly complex to me. Thinking of it a little bit more, I would do the 
following:
1) Exclude JVM heap. We never had such check before, even when we were on-heap 
solution, and never had any problems with it. Moreover, we do not know how much 
heap will be used by user application.
2) Share only total maximum of all memory regions + checkpoint buffer size. If 
it exceeds 80% of machines ram - print a warning. 

> Change default max memory size from 80% to 20%
> ----------------------------------------------
>
>                 Key: IGNITE-6182
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6182
>             Project: Ignite
>          Issue Type: Task
>          Components: general
>    Affects Versions: 2.1
>            Reporter: Vladimir Ozerov
>            Assignee: Igor Seliverstov
>            Priority: Blocker
>             Fix For: 2.2
>
>
> Currently we can allocate up to 80% of available RAM by default. It could 
> lead to swap with potential risk of hang.
> In order to improve user experience, we need to do the following:
> 1) Decrease default to 20% 
> ({{MemoryConfiguration.DFLT_MEMORY_POLICY_FRACTION}})
> 2) When node starts it should sum max sizes of all memory regions plus Java's 
> XMX. If result is greater than 50% of total RAM, we should issue a warning 
> about potential swap.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to