[MDEV-2682] LP:954262 - Query casues excessive memory consumption Created: 2012-03-13 Updated: 2015-02-02 Resolved: 2012-10-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical |
| Reporter: | Peter (Stig) Edwards (Inactive) | Assignee: | Igor Babaev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
Thank you for MariaDB 5.3.5-ga The attached file contains a reproducer. When memory is exhausted the error reported to the client is:
and the server error log has: [ERROR] mysqld: Out of memory (Needed [digit] bytes) (I am aware the query should avoid using single quotes around ints.) Running bzr pull on: Using mariadb-5.3.5-ga-Linux-x86_64.tar.gz on: Cheers |
| Comments |
| Comment by Peter (Stig) Edwards (Inactive) [ 2012-03-13 ] |
|
Re: Query casues excessive memory consumption |
| Comment by Peter (Stig) Edwards (Inactive) [ 2012-03-13 ] |
|
20120313_mariadb_5_3_5_out_of_mem.sql |
| Comment by Elena Stepanova [ 2012-03-14 ] |
|
Re: Query casues excessive memory consumption Stack trace from the active thread if I kill the server in the process: #0 0x087f6dba in db_doprnt (format=0x89e272c "root: 0x%lx") at dbug.c:1359 |
| Comment by Elena Stepanova [ 2012-03-14 ] |
|
Re: Query casues excessive memory consumption |
| Comment by Oleksandr Byelkin [ 2012-03-15 ] |
|
Re: Query casues excessive memory consumption |
| Comment by Oleksandr Byelkin [ 2012-03-15 ] |
|
Re: Query casues excessive memory consumption if (conds || outer_join) |
| Comment by Oleksandr Byelkin [ 2012-03-15 ] |
|
Re: Query casues excessive memory consumption it is get_quick_record_count and second call of select->test_quick_select |
| Comment by Oleksandr Byelkin [ 2012-03-15 ] |
|
Re: Query casues excessive memory consumption |
| Comment by Oleksandr Byelkin [ 2012-03-15 ] |
|
Re: Query casues excessive memory consumption |
| Comment by Oleksandr Byelkin [ 2012-03-15 ] |
|
Re: Query casues excessive memory consumption |
| Comment by Oleksandr Byelkin [ 2012-03-15 ] |
|
Re: Query casues excessive memory consumption |
| Comment by Oleksandr Byelkin [ 2012-03-15 ] |
|
Re: Query casues excessive memory consumption tree_or() else { // everything else } return; } in 5.3 it is tree_or() { ... if (sel_trees_can_be_ored()) { ... } // everything else including allocating new objects |
| Comment by Oleksandr Byelkin [ 2012-03-15 ] |
|
Re: Query casues excessive memory consumption |
| Comment by Peter (Stig) Edwards (Inactive) [ 2012-03-21 ] |
|
Re: Query casues excessive memory consumption |
| Comment by Rasmus Johansson (Inactive) [ 2012-04-03 ] |
|
Launchpad bug id: 954262 |