[ https://issues.apache.org/jira/browse/IGNITE-6182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16149196#comment-16149196 ]
Anton Vinogradov commented on IGNITE-6182: ------------------------------------------ [~gvvinblade], Code you provided can't be compiled, please fix. > 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)