[
https://issues.apache.org/jira/browse/IGNITE-6814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Denis Magda updated IGNITE-6814:
--------------------------------
Description:
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 format:
{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}
was:
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 format:
{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. All
this is covered in official docs:
https://apacheignite.readme.io/docs#section-data-regions
> 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 format:
> {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
(v6.4.14#64029)