[MDEV-24244] Got error 174 'ParseString: Out of memory' from CONNECT Created: 2020-11-18 Updated: 2022-04-12 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Connect |
| Affects Version/s: | 10.4.11 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Kal Lu (Inactive) | Assignee: | Michael Widenius |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Mac OS 10.15.7, Core i7, 32G Memory |
||
| Attachments: |
|
| 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:
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. |