Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-10543

Memory leak when "replacing into" on a Aria table with Text field

    XMLWordPrintable

Details

    Description

      When doing a "REPLACE INTO table SELECT * FROM..." or "LOAD DATA INFILE ... REPLACE..." on a Aria table with a "text" (or tinytext, mediumtext, longtext) field, replacing data already in the table, used memory increases each time of about the size of data inserted, until server crash with error 1041.
      The problem doesn't occours if matching records are deleted before.
      Tested also with MyISAM and TokuDB, with which there are no problems.

      Attachments

        1. h3088ato2 _2016-08-19_12-11-49.png
          41 kB
          Risato Stefano
        2. my.cnf
          5 kB
          Risato Stefano
        3. my.ini
          21 kB
          Risato Stefano

        Issue Links

          Activity

            People

              Unassigned Unassigned
              steris Risato Stefano
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.