[ https://issues.apache.org/jira/browse/IGNITE-6182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16145044#comment-16145044 ]
Igor Seliverstov commented on IGNITE-6182: ------------------------------------------ The final version of warning based on disscussion on devlist: {noformat} ----------------------------------------------------- Excessive memory usage by Ignite node process (performance may drop) [requested=44613MB, available=15942MB]. Please tune the folowing settings as suggested: MemoryPolicyConfiguration.initialSize for bigPlc: 8102MB MemoryPolicyConfiguration.maxSize for bigPlc: 8102MB MemoryPolicyConfiguration.initialSize for dfltPlc: 100MB MemoryPolicyConfiguration.maxSize for dfltPlc: 100MB Current settings: Java Heap maxSize: 3543MB Java Heap initSize: 250MB MemoryPolicyConfiguration.initialSize for bigPlc: 256MB MemoryPolicyConfiguration.maxSize for bigPlc: 40960MB MemoryPolicyConfiguration.initialSize for dfltPlc: 10MB MemoryPolicyConfiguration.maxSize for dfltPlc: 10MB The overall expected memory usage by all Ignite nodes on the host: 44613MB ----------------------------------------------------- {noformat} > 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)