Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-6814

Detailed memory consumption on start and OOM reporting

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.0
    • 2.4
    • None

    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:
        Topology snapshot [ver=1, servers=1, clients=0, CPUs=4, off-heap={N}, heap=1.8GB, ]
        
      • Print detailed memory configuration below Topology Snapshot message following this format:
        Data Regions Configured:
        ^-- Data_Region_Name [initSize=N, maxSize=N, persistenceEnabled={true|false}]
        

        Example:

        Data Regions Configured:
           ^-- Default [initSize=100MB, maxSize=5.0 GB, persistenceEnabled=true]
           ^-- RegionalMetrics [initSize=500MB, maxSize=15.0 GB, persistenceEnabled=false]
        
      • 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.
        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.
        

      Attachments

        Issue Links

          Activity

            People

              slava.koptilin Vyacheslav Koptilin
              dmagda Denis A. Magda
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: