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

Got error 174 'ParseString: Out of memory' from CONNECT

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.4.11
    • 10.4
    • None
    • Mac OS 10.15.7, Core i7, 32G Memory

    Description

      I have a json file of a size about 2MB.

      There's no issue loading it CONNECT tables. However I got "Out of memory" error when trying to read the tables.

      Here's the query:

       SELECT * 
       FROM `era_stage`.`era_stage_bpr_financial_information_0`  bpr
       JOIN `era_stage`.`era_stage_trn_trace_number_0`  trn ON trn.trace_number_id = bpr.financial_information_id
       JOIN `era_stage`.`era_stage_n1_entity_identification_0`  n1 ON n1.parent_id = bpr.financial_information_id;
      

      Each table above only have 1 or 2 records.

      if I remove any of the JOINs, the query executed with no problem.

      But with both JOINs, it gave me this error "Got error 174 'ParseString: Out of memory' from CONNECT".

      As the query is expected to return only a couple records, the error message is kind of confusing. I did try increasing `connect_work_size` to 536870912 (512M) though, didn't help. Wonder if it has anything to do with memory.

      I attached sql dump for you test the query above.

      Attachments

        Activity

          People

            monty Michael Widenius
            bugsubmission Kal Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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