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

OOM on creating rebalance iterator while rebalancing cache with large values.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.9, 2.8.1, 2.9.1
    • 2.10
    • None
    • None
    • Docs Required, Release Notes Required

    Description

      Scenario
      1. Start replicated cache on ignite node, memory region approx 6 Gb, heap 1Gb
      2. Load significant amount of data to cache with values approx 200Kb (~20K kv pairs)
      3. Start another node
      First node (supplier) will crash while initializing rebalance iterator with OOM
      Main reason – all values, to whon pointed from leaf of BTree, are all loaded to buffer in BPlusTree#ForwardCursor. For replicated cache, 512 iterators for each partition are created at once.

      Reproducer is attached, run it with -Xmx1G

      Attachments

        1. ReplicatedCacheRebalanceTest.java
          3 kB
          Ivan Daschinsky

        Issue Links

          Activity

            People

              ivandasch Ivan Daschinsky
              ivandasch Ivan Daschinsky
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m