ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitriy Setrakyan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-6814) Detailed memory consumption on start and OOM reporting
Date Fri, 03 Nov 2017 02:50:00 GMT

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

Dmitriy Setrakyan commented on IGNITE-6814:

The OutOfMemoryException should look as following:
Out of memory in data region [name= region_name, initSize=N, maxSize=N, persistenceEnabled={true|false}].
Try the following:
   ^-- Increase maximum off-heap memory size (DataRegionConfiguration.maxSize)
   ^-- Enable Ignite persistence (DataRegionConfiguration.persistenceEnabled)
   ^-- Enable eviction or expiration policies

> Detailed memory consumption on start and OOM reporting
> ------------------------------------------------------
>                 Key: IGNITE-6814
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6814
>             Project: Ignite
>          Issue Type: Improvement
>      Security Level: Public(Viewable by anyone) 
>    Affects Versions: 2.0
>            Reporter: Denis Magda
>            Priority: Critical
>              Labels: usability
>             Fix For: 2.4
> Presently Ignite allocates 20% of RAM on a node startup, however, the user doesn't see
automatically chosen memory settings. Also, if there a node runs out of RAM and throws an
OOM error there are no hints on why this happened and how to fix it.
> Suggestions: 
> * Add {{off-heap}} field to {{Topology Snapshot}} message. The field will accumulate
maximum size of all the data regions defined cluster-wide:
> {code}
> Topology snapshot [ver=1, servers=1, clients=0, CPUs=4, off-heap={N}, heap=1.8GB, ]
> {code}
> * Print detailed memory configuration below {{Topology Snapshot}} message following this
> {code}
> Data Regions Configured:
> ^-- Data_Region_Name [initSize=N, maxSize=N, persistenceEnabled={true|false}]
> {code}
> Example:
> {code}
> Data Regions Configured:
>    ^-- Default [initSize=100MB, maxSize=5.0 GB, persistenceEnabled=true]
>    ^-- RegionalMetrics [initSize=500MB, maxSize=15.0 GB, persistenceEnabled=false]
> {code}
> * Provide guidelines on how to overcome OOM when it happens. Specify a data region name
with all its current parameters and suggest three possible things - tweak maximum memory,
setup eviction policies or enable Ignite persistence.
> {code}
> Out of memory in data region Region_Name [initSize=N, maxSize=N, persistenceEnabled={true|false}].
Do one of the following:
>    ^-- Increase maximum size (DataRegionConfiguration.maxSize)
>    ^-- Enable Ignite persistence (DataRegionConfiguration.persistenceEnabled) or
>    ^-- Enable eviction or expiration policies.
> {code}

This message was sent by Atlassian JIRA

View raw message