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

Leaking H2 internals when querying from pyignite

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • 2.8
    • None
    • clients, python
    • None

    Description

      I am sharing a slightly modified reproducer from userlist.

      To run:

      Start a node (with JVM_OPTS=-Xmx512m to see it most clearly).
      Run a .sql file with sqlline (!run)
      python3 test_insert_in_cache.py
      in parallel terminal: python3 read_cache_insert_update_table.py

      Then you should observe slowing down and long GC pauses on server node. jmap will collect ever-increasing heap dumps.

      Attachments

        1. TEST_TABLE.sql
          0.7 kB
          Ilya Kasnacheev
        2. test_insert_in_cache.py
          0.9 kB
          Ilya Kasnacheev
        3. read_cache_insert_update_table.py
          2 kB
          Ilya Kasnacheev

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ilyak Ilya Kasnacheev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: